@@ -86,22 +86,22 @@ discard block |
||
86 | 86 | catch( \Aimeos\Client\Html\Exception $e ) |
87 | 87 | { |
88 | 88 | $error = array( $context->getI18n()->dt( 'client', $e->getMessage() ) ); |
89 | - $view->favoriteErrorList = array_merge($view->get( 'favoriteErrorList', [] ), $error); |
|
89 | + $view->favoriteErrorList = array_merge( $view->get( 'favoriteErrorList', [] ), $error ); |
|
90 | 90 | } |
91 | 91 | catch( \Aimeos\Controller\Frontend\Exception $e ) |
92 | 92 | { |
93 | 93 | $error = array( $context->getI18n()->dt( 'controller/frontend', $e->getMessage() ) ); |
94 | - $view->favoriteErrorList = array_merge($view->get( 'favoriteErrorList', [] ), $error); |
|
94 | + $view->favoriteErrorList = array_merge( $view->get( 'favoriteErrorList', [] ), $error ); |
|
95 | 95 | } |
96 | 96 | catch( \Aimeos\MShop\Exception $e ) |
97 | 97 | { |
98 | 98 | $error = array( $context->getI18n()->dt( 'mshop', $e->getMessage() ) ); |
99 | - $view->favoriteErrorList = array_merge($view->get( 'favoriteErrorList', [] ), $error); |
|
99 | + $view->favoriteErrorList = array_merge( $view->get( 'favoriteErrorList', [] ), $error ); |
|
100 | 100 | } |
101 | 101 | catch( \Exception $e ) |
102 | 102 | { |
103 | 103 | $error = array( $context->getI18n()->dt( 'client', 'A non-recoverable error occured' ) ); |
104 | - $view->favoriteErrorList = array_merge($view->get( 'favoriteErrorList', [] ), $error); |
|
104 | + $view->favoriteErrorList = array_merge( $view->get( 'favoriteErrorList', [] ), $error ); |
|
105 | 105 | $this->logException( $e ); |
106 | 106 | } |
107 | 107 | |
@@ -302,22 +302,22 @@ discard block |
||
302 | 302 | catch( \Aimeos\MShop\Exception $e ) |
303 | 303 | { |
304 | 304 | $error = array( $context->getI18n()->dt( 'mshop', $e->getMessage() ) ); |
305 | - $view->favoriteErrorList = array_merge($view->get( 'favoriteErrorList', [] ), $error); |
|
305 | + $view->favoriteErrorList = array_merge( $view->get( 'favoriteErrorList', [] ), $error ); |
|
306 | 306 | } |
307 | 307 | catch( \Aimeos\Controller\Frontend\Exception $e ) |
308 | 308 | { |
309 | 309 | $error = array( $context->getI18n()->dt( 'controller/frontend', $e->getMessage() ) ); |
310 | - $view->favoriteErrorList = array_merge($view->get( 'favoriteErrorList', [] ), $error); |
|
310 | + $view->favoriteErrorList = array_merge( $view->get( 'favoriteErrorList', [] ), $error ); |
|
311 | 311 | } |
312 | 312 | catch( \Aimeos\Client\Html\Exception $e ) |
313 | 313 | { |
314 | 314 | $error = array( $context->getI18n()->dt( 'client', $e->getMessage() ) ); |
315 | - $view->favoriteErrorList = array_merge($view->get( 'favoriteErrorList', [] ), $error); |
|
315 | + $view->favoriteErrorList = array_merge( $view->get( 'favoriteErrorList', [] ), $error ); |
|
316 | 316 | } |
317 | 317 | catch( \Exception $e ) |
318 | 318 | { |
319 | 319 | $error = array( $context->getI18n()->dt( 'client', 'A non-recoverable error occured' ) ); |
320 | - $view->favoriteErrorList = array_merge($view->get( 'favoriteErrorList', [] ), $error); |
|
320 | + $view->favoriteErrorList = array_merge( $view->get( 'favoriteErrorList', [] ), $error ); |
|
321 | 321 | $this->logException( $e ); |
322 | 322 | } |
323 | 323 | } |
@@ -108,22 +108,22 @@ discard block |
||
108 | 108 | catch( \Aimeos\Client\Html\Exception $e ) |
109 | 109 | { |
110 | 110 | $error = array( $context->getI18n()->dt( 'client', $e->getMessage() ) ); |
111 | - $view->historyErrorList = array_merge($view->get( 'historyErrorList', [] ), $error); |
|
111 | + $view->historyErrorList = array_merge( $view->get( 'historyErrorList', [] ), $error ); |
|
112 | 112 | } |
113 | 113 | catch( \Aimeos\Controller\Frontend\Exception $e ) |
114 | 114 | { |
115 | 115 | $error = array( $context->getI18n()->dt( 'controller/frontend', $e->getMessage() ) ); |
116 | - $view->historyErrorList = array_merge($view->get( 'historyErrorList', [] ), $error); |
|
116 | + $view->historyErrorList = array_merge( $view->get( 'historyErrorList', [] ), $error ); |
|
117 | 117 | } |
118 | 118 | catch( \Aimeos\MShop\Exception $e ) |
119 | 119 | { |
120 | 120 | $error = array( $context->getI18n()->dt( 'mshop', $e->getMessage() ) ); |
121 | - $view->historyErrorList = array_merge($view->get( 'historyErrorList', [] ), $error); |
|
121 | + $view->historyErrorList = array_merge( $view->get( 'historyErrorList', [] ), $error ); |
|
122 | 122 | } |
123 | 123 | catch( \Exception $e ) |
124 | 124 | { |
125 | 125 | $error = array( $context->getI18n()->dt( 'client', 'A non-recoverable error occured' ) ); |
126 | - $view->historyErrorList = array_merge($view->get( 'historyErrorList', [] ), $error); |
|
126 | + $view->historyErrorList = array_merge( $view->get( 'historyErrorList', [] ), $error ); |
|
127 | 127 | $this->logException( $e ); |
128 | 128 | } |
129 | 129 | |
@@ -313,22 +313,22 @@ discard block |
||
313 | 313 | catch( \Aimeos\MShop\Exception $e ) |
314 | 314 | { |
315 | 315 | $error = array( $context->getI18n()->dt( 'mshop', $e->getMessage() ) ); |
316 | - $view->historyErrorList = array_merge($view->get( 'historyErrorList', [] ), $error); |
|
316 | + $view->historyErrorList = array_merge( $view->get( 'historyErrorList', [] ), $error ); |
|
317 | 317 | } |
318 | 318 | catch( \Aimeos\Controller\Frontend\Exception $e ) |
319 | 319 | { |
320 | 320 | $error = array( $context->getI18n()->dt( 'controller/frontend', $e->getMessage() ) ); |
321 | - $view->historyErrorList = array_merge($view->get( 'historyErrorList', [] ), $error); |
|
321 | + $view->historyErrorList = array_merge( $view->get( 'historyErrorList', [] ), $error ); |
|
322 | 322 | } |
323 | 323 | catch( \Aimeos\Client\Html\Exception $e ) |
324 | 324 | { |
325 | 325 | $error = array( $context->getI18n()->dt( 'client', $e->getMessage() ) ); |
326 | - $view->historyErrorList = array_merge($view->get( 'historyErrorList', [] ), $error); |
|
326 | + $view->historyErrorList = array_merge( $view->get( 'historyErrorList', [] ), $error ); |
|
327 | 327 | } |
328 | 328 | catch( \Exception $e ) |
329 | 329 | { |
330 | 330 | $error = array( $context->getI18n()->dt( 'client', 'A non-recoverable error occured' ) ); |
331 | - $view->historyErrorList = array_merge($view->get( 'historyErrorList', [] ), $error); |
|
331 | + $view->historyErrorList = array_merge( $view->get( 'historyErrorList', [] ), $error ); |
|
332 | 332 | $this->logException( $e ); |
333 | 333 | } |
334 | 334 | } |
@@ -86,22 +86,22 @@ discard block |
||
86 | 86 | catch( \Aimeos\Client\Html\Exception $e ) |
87 | 87 | { |
88 | 88 | $error = array( $context->getI18n()->dt( 'client', $e->getMessage() ) ); |
89 | - $view->watchErrorList = array_merge($view->get( 'watchErrorList', [] ), $error); |
|
89 | + $view->watchErrorList = array_merge( $view->get( 'watchErrorList', [] ), $error ); |
|
90 | 90 | } |
91 | 91 | catch( \Aimeos\Controller\Frontend\Exception $e ) |
92 | 92 | { |
93 | 93 | $error = array( $context->getI18n()->dt( 'controller/frontend', $e->getMessage() ) ); |
94 | - $view->watchErrorList = array_merge($view->get( 'watchErrorList', [] ), $error); |
|
94 | + $view->watchErrorList = array_merge( $view->get( 'watchErrorList', [] ), $error ); |
|
95 | 95 | } |
96 | 96 | catch( \Aimeos\MShop\Exception $e ) |
97 | 97 | { |
98 | 98 | $error = array( $context->getI18n()->dt( 'mshop', $e->getMessage() ) ); |
99 | - $view->watchErrorList = array_merge($view->get( 'watchErrorList', [] ), $error); |
|
99 | + $view->watchErrorList = array_merge( $view->get( 'watchErrorList', [] ), $error ); |
|
100 | 100 | } |
101 | 101 | catch( \Exception $e ) |
102 | 102 | { |
103 | 103 | $error = array( $context->getI18n()->dt( 'client', 'A non-recoverable error occured' ) ); |
104 | - $view->watchErrorList = array_merge($view->get( 'watchErrorList', [] ), $error); |
|
104 | + $view->watchErrorList = array_merge( $view->get( 'watchErrorList', [] ), $error ); |
|
105 | 105 | $this->logException( $e ); |
106 | 106 | } |
107 | 107 | |
@@ -305,22 +305,22 @@ discard block |
||
305 | 305 | catch( \Aimeos\MShop\Exception $e ) |
306 | 306 | { |
307 | 307 | $error = array( $context->getI18n()->dt( 'mshop', $e->getMessage() ) ); |
308 | - $view->watchErrorList = array_merge($view->get( 'watchErrorList', [] ), $error); |
|
308 | + $view->watchErrorList = array_merge( $view->get( 'watchErrorList', [] ), $error ); |
|
309 | 309 | } |
310 | 310 | catch( \Aimeos\Controller\Frontend\Exception $e ) |
311 | 311 | { |
312 | 312 | $error = array( $context->getI18n()->dt( 'controller/frontend', $e->getMessage() ) ); |
313 | - $view->watchErrorList = array_merge($view->get( 'watchErrorList', [] ), $error); |
|
313 | + $view->watchErrorList = array_merge( $view->get( 'watchErrorList', [] ), $error ); |
|
314 | 314 | } |
315 | 315 | catch( \Aimeos\Client\Html\Exception $e ) |
316 | 316 | { |
317 | 317 | $error = array( $context->getI18n()->dt( 'client', $e->getMessage() ) ); |
318 | - $view->watchErrorList = array_merge($view->get( 'watchErrorList', [] ), $error); |
|
318 | + $view->watchErrorList = array_merge( $view->get( 'watchErrorList', [] ), $error ); |
|
319 | 319 | } |
320 | 320 | catch( \Exception $e ) |
321 | 321 | { |
322 | 322 | $error = array( $context->getI18n()->dt( 'client', 'A non-recoverable error occured' ) ); |
323 | - $view->watchErrorList = array_merge($view->get( 'watchErrorList', [] ), $error); |
|
323 | + $view->watchErrorList = array_merge( $view->get( 'watchErrorList', [] ), $error ); |
|
324 | 324 | $this->logException( $e ); |
325 | 325 | } |
326 | 326 | } |
@@ -85,22 +85,22 @@ discard block |
||
85 | 85 | catch( \Aimeos\Client\Html\Exception $e ) |
86 | 86 | { |
87 | 87 | $error = array( $context->getI18n()->dt( 'client', $e->getMessage() ) ); |
88 | - $view->profileErrorList = array_merge($view->get( 'profileErrorList', [] ), $error); |
|
88 | + $view->profileErrorList = array_merge( $view->get( 'profileErrorList', [] ), $error ); |
|
89 | 89 | } |
90 | 90 | catch( \Aimeos\Controller\Frontend\Exception $e ) |
91 | 91 | { |
92 | 92 | $error = array( $context->getI18n()->dt( 'controller/frontend', $e->getMessage() ) ); |
93 | - $view->profileErrorList = array_merge($view->get( 'profileErrorList', [] ), $error); |
|
93 | + $view->profileErrorList = array_merge( $view->get( 'profileErrorList', [] ), $error ); |
|
94 | 94 | } |
95 | 95 | catch( \Aimeos\MShop\Exception $e ) |
96 | 96 | { |
97 | 97 | $error = array( $context->getI18n()->dt( 'mshop', $e->getMessage() ) ); |
98 | - $view->profileErrorList = array_merge($view->get( 'profileErrorList', [] ), $error); |
|
98 | + $view->profileErrorList = array_merge( $view->get( 'profileErrorList', [] ), $error ); |
|
99 | 99 | } |
100 | 100 | catch( \Exception $e ) |
101 | 101 | { |
102 | 102 | $error = array( $context->getI18n()->dt( 'client', 'A non-recoverable error occured' ) ); |
103 | - $view->profileErrorList = array_merge($view->get( 'profileErrorList', [] ), $error); |
|
103 | + $view->profileErrorList = array_merge( $view->get( 'profileErrorList', [] ), $error ); |
|
104 | 104 | $this->logException( $e ); |
105 | 105 | } |
106 | 106 | |
@@ -290,22 +290,22 @@ discard block |
||
290 | 290 | catch( \Aimeos\MShop\Exception $e ) |
291 | 291 | { |
292 | 292 | $error = array( $context->getI18n()->dt( 'mshop', $e->getMessage() ) ); |
293 | - $view->profileErrorList = array_merge($view->get( 'profileErrorList', [] ), $error); |
|
293 | + $view->profileErrorList = array_merge( $view->get( 'profileErrorList', [] ), $error ); |
|
294 | 294 | } |
295 | 295 | catch( \Aimeos\Controller\Frontend\Exception $e ) |
296 | 296 | { |
297 | 297 | $error = array( $context->getI18n()->dt( 'controller/frontend', $e->getMessage() ) ); |
298 | - $view->profileErrorList = array_merge($view->get( 'profileErrorList', [] ), $error); |
|
298 | + $view->profileErrorList = array_merge( $view->get( 'profileErrorList', [] ), $error ); |
|
299 | 299 | } |
300 | 300 | catch( \Aimeos\Client\Html\Exception $e ) |
301 | 301 | { |
302 | 302 | $error = array( $context->getI18n()->dt( 'client', $e->getMessage() ) ); |
303 | - $view->profileErrorList = array_merge($view->get( 'profileErrorList', [] ), $error); |
|
303 | + $view->profileErrorList = array_merge( $view->get( 'profileErrorList', [] ), $error ); |
|
304 | 304 | } |
305 | 305 | catch( \Exception $e ) |
306 | 306 | { |
307 | 307 | $error = array( $context->getI18n()->dt( 'client', 'A non-recoverable error occured' ) ); |
308 | - $view->profileErrorList = array_merge($view->get( 'profileErrorList', [] ), $error); |
|
308 | + $view->profileErrorList = array_merge( $view->get( 'profileErrorList', [] ), $error ); |
|
309 | 309 | $this->logException( $e ); |
310 | 310 | } |
311 | 311 | } |
@@ -96,22 +96,22 @@ |
||
96 | 96 | catch( \Aimeos\Client\Html\Exception $e ) |
97 | 97 | { |
98 | 98 | $error = array( $context->getI18n()->dt( 'client', $e->getMessage() ) ); |
99 | - $view->relatedErrorList = array_merge($view->get( 'relatedErrorList', [] ), $error); |
|
99 | + $view->relatedErrorList = array_merge( $view->get( 'relatedErrorList', [] ), $error ); |
|
100 | 100 | } |
101 | 101 | catch( \Aimeos\Controller\Frontend\Exception $e ) |
102 | 102 | { |
103 | 103 | $error = array( $context->getI18n()->dt( 'controller/frontend', $e->getMessage() ) ); |
104 | - $view->relatedErrorList = array_merge($view->get( 'relatedErrorList', [] ), $error); |
|
104 | + $view->relatedErrorList = array_merge( $view->get( 'relatedErrorList', [] ), $error ); |
|
105 | 105 | } |
106 | 106 | catch( \Aimeos\MShop\Exception $e ) |
107 | 107 | { |
108 | 108 | $error = array( $context->getI18n()->dt( 'mshop', $e->getMessage() ) ); |
109 | - $view->relatedErrorList = array_merge($view->get( 'relatedErrorList', [] ), $error); |
|
109 | + $view->relatedErrorList = array_merge( $view->get( 'relatedErrorList', [] ), $error ); |
|
110 | 110 | } |
111 | 111 | catch( \Exception $e ) |
112 | 112 | { |
113 | 113 | $error = array( $context->getI18n()->dt( 'client', 'A non-recoverable error occured' ) ); |
114 | - $view->relatedErrorList = array_merge($view->get( 'relatedErrorList', [] ), $error); |
|
114 | + $view->relatedErrorList = array_merge( $view->get( 'relatedErrorList', [] ), $error ); |
|
115 | 115 | $this->logException( $e ); |
116 | 116 | } |
117 | 117 |
@@ -111,22 +111,22 @@ |
||
111 | 111 | catch( \Aimeos\Client\Html\Exception $e ) |
112 | 112 | { |
113 | 113 | $error = array( $context->getI18n()->dt( 'client', $e->getMessage() ) ); |
114 | - $view->selectErrorList = array_merge($view->get( 'selectErrorList', [] ), $error); |
|
114 | + $view->selectErrorList = array_merge( $view->get( 'selectErrorList', [] ), $error ); |
|
115 | 115 | } |
116 | 116 | catch( \Aimeos\Controller\Frontend\Exception $e ) |
117 | 117 | { |
118 | 118 | $error = array( $context->getI18n()->dt( 'controller/frontend', $e->getMessage() ) ); |
119 | - $view->selectErrorList = array_merge($view->get( 'selectErrorList', [] ), $error); |
|
119 | + $view->selectErrorList = array_merge( $view->get( 'selectErrorList', [] ), $error ); |
|
120 | 120 | } |
121 | 121 | catch( \Aimeos\MShop\Exception $e ) |
122 | 122 | { |
123 | 123 | $error = array( $context->getI18n()->dt( 'mshop', $e->getMessage() ) ); |
124 | - $view->selectErrorList = array_merge($view->get( 'selectErrorList', [] ), $error); |
|
124 | + $view->selectErrorList = array_merge( $view->get( 'selectErrorList', [] ), $error ); |
|
125 | 125 | } |
126 | 126 | catch( \Exception $e ) |
127 | 127 | { |
128 | 128 | $error = array( $context->getI18n()->dt( 'client', 'A non-recoverable error occured' ) ); |
129 | - $view->selectErrorList = array_merge($view->get( 'selectErrorList', [] ), $error); |
|
129 | + $view->selectErrorList = array_merge( $view->get( 'selectErrorList', [] ), $error ); |
|
130 | 130 | $this->logException( $e ); |
131 | 131 | } |
132 | 132 |
@@ -111,22 +111,22 @@ discard block |
||
111 | 111 | catch( \Aimeos\Client\Html\Exception $e ) |
112 | 112 | { |
113 | 113 | $error = array( $context->getI18n()->dt( 'client', $e->getMessage() ) ); |
114 | - $view->sessionErrorList = array_merge($view->get( 'sessionErrorList', [] ), $error); |
|
114 | + $view->sessionErrorList = array_merge( $view->get( 'sessionErrorList', [] ), $error ); |
|
115 | 115 | } |
116 | 116 | catch( \Aimeos\Controller\Frontend\Exception $e ) |
117 | 117 | { |
118 | 118 | $error = array( $context->getI18n()->dt( 'controller/frontend', $e->getMessage() ) ); |
119 | - $view->sessionErrorList = array_merge($view->get( 'sessionErrorList', [] ), $error); |
|
119 | + $view->sessionErrorList = array_merge( $view->get( 'sessionErrorList', [] ), $error ); |
|
120 | 120 | } |
121 | 121 | catch( \Aimeos\MShop\Exception $e ) |
122 | 122 | { |
123 | 123 | $error = array( $context->getI18n()->dt( 'mshop', $e->getMessage() ) ); |
124 | - $view->sessionErrorList = array_merge($view->get( 'sessionErrorList', [] ), $error); |
|
124 | + $view->sessionErrorList = array_merge( $view->get( 'sessionErrorList', [] ), $error ); |
|
125 | 125 | } |
126 | 126 | catch( \Exception $e ) |
127 | 127 | { |
128 | 128 | $error = array( $context->getI18n()->dt( 'client', 'A non-recoverable error occured' ) ); |
129 | - $view->sessionErrorList = array_merge($view->get( 'sessionErrorList', [] ), $error); |
|
129 | + $view->sessionErrorList = array_merge( $view->get( 'sessionErrorList', [] ), $error ); |
|
130 | 130 | $this->logException( $e ); |
131 | 131 | } |
132 | 132 | |
@@ -316,22 +316,22 @@ discard block |
||
316 | 316 | catch( \Aimeos\Client\Html\Exception $e ) |
317 | 317 | { |
318 | 318 | $error = array( $context->getI18n()->dt( 'client', $e->getMessage() ) ); |
319 | - $view->sessionErrorList = array_merge($view->get( 'sessionErrorList', [] ), $error); |
|
319 | + $view->sessionErrorList = array_merge( $view->get( 'sessionErrorList', [] ), $error ); |
|
320 | 320 | } |
321 | 321 | catch( \Aimeos\Controller\Frontend\Exception $e ) |
322 | 322 | { |
323 | 323 | $error = array( $context->getI18n()->dt( 'controller/frontend', $e->getMessage() ) ); |
324 | - $view->sessionErrorList = array_merge($view->get( 'sessionErrorList', [] ), $error); |
|
324 | + $view->sessionErrorList = array_merge( $view->get( 'sessionErrorList', [] ), $error ); |
|
325 | 325 | } |
326 | 326 | catch( \Aimeos\MShop\Exception $e ) |
327 | 327 | { |
328 | 328 | $error = array( $context->getI18n()->dt( 'mshop', $e->getMessage() ) ); |
329 | - $view->sessionErrorList = array_merge($view->get( 'sessionErrorList', [] ), $error); |
|
329 | + $view->sessionErrorList = array_merge( $view->get( 'sessionErrorList', [] ), $error ); |
|
330 | 330 | } |
331 | 331 | catch( \Exception $e ) |
332 | 332 | { |
333 | 333 | $error = array( $context->getI18n()->dt( 'client', 'A non-recoverable error occured' ) ); |
334 | - $view->sessionErrorList = array_merge($view->get( 'sessionErrorList', [] ), $error); |
|
334 | + $view->sessionErrorList = array_merge( $view->get( 'sessionErrorList', [] ), $error ); |
|
335 | 335 | $this->logException( $e ); |
336 | 336 | } |
337 | 337 | } |
@@ -145,22 +145,22 @@ discard block |
||
145 | 145 | catch( \Aimeos\Client\Html\Exception $e ) |
146 | 146 | { |
147 | 147 | $error = array( $context->getI18n()->dt( 'client', $e->getMessage() ) ); |
148 | - $view->productErrorList = array_merge($view->get( 'productErrorList', [] ), $error); |
|
148 | + $view->productErrorList = array_merge( $view->get( 'productErrorList', [] ), $error ); |
|
149 | 149 | } |
150 | 150 | catch( \Aimeos\Controller\Frontend\Exception $e ) |
151 | 151 | { |
152 | 152 | $error = array( $context->getI18n()->dt( 'controller/frontend', $e->getMessage() ) ); |
153 | - $view->productErrorList = array_merge($view->get( 'productErrorList', [] ), $error); |
|
153 | + $view->productErrorList = array_merge( $view->get( 'productErrorList', [] ), $error ); |
|
154 | 154 | } |
155 | 155 | catch( \Aimeos\MShop\Exception $e ) |
156 | 156 | { |
157 | 157 | $error = array( $context->getI18n()->dt( 'mshop', $e->getMessage() ) ); |
158 | - $view->productErrorList = array_merge($view->get( 'productErrorList', [] ), $error); |
|
158 | + $view->productErrorList = array_merge( $view->get( 'productErrorList', [] ), $error ); |
|
159 | 159 | } |
160 | 160 | catch( \Exception $e ) |
161 | 161 | { |
162 | 162 | $error = array( $context->getI18n()->dt( 'client', 'A non-recoverable error occured' ) ); |
163 | - $view->productErrorList = array_merge($view->get( 'productErrorList', [] ), $error); |
|
163 | + $view->productErrorList = array_merge( $view->get( 'productErrorList', [] ), $error ); |
|
164 | 164 | $this->logException( $e ); |
165 | 165 | } |
166 | 166 | |
@@ -344,22 +344,22 @@ discard block |
||
344 | 344 | catch( \Aimeos\Client\Html\Exception $e ) |
345 | 345 | { |
346 | 346 | $error = array( $context->getI18n()->dt( 'client', $e->getMessage() ) ); |
347 | - $view->productErrorList = array_merge($view->get( 'productErrorList', [] ), $error); |
|
347 | + $view->productErrorList = array_merge( $view->get( 'productErrorList', [] ), $error ); |
|
348 | 348 | } |
349 | 349 | catch( \Aimeos\Controller\Frontend\Exception $e ) |
350 | 350 | { |
351 | 351 | $error = array( $context->getI18n()->dt( 'controller/frontend', $e->getMessage() ) ); |
352 | - $view->productErrorList = array_merge($view->get( 'productErrorList', [] ), $error); |
|
352 | + $view->productErrorList = array_merge( $view->get( 'productErrorList', [] ), $error ); |
|
353 | 353 | } |
354 | 354 | catch( \Aimeos\MShop\Exception $e ) |
355 | 355 | { |
356 | 356 | $error = array( $context->getI18n()->dt( 'mshop', $e->getMessage() ) ); |
357 | - $view->productErrorList = array_merge($view->get( 'productErrorList', [] ), $error); |
|
357 | + $view->productErrorList = array_merge( $view->get( 'productErrorList', [] ), $error ); |
|
358 | 358 | } |
359 | 359 | catch( \Exception $e ) |
360 | 360 | { |
361 | 361 | $error = array( $context->getI18n()->dt( 'client', 'A non-recoverable error occured' ) ); |
362 | - $view->productErrorList = array_merge($view->get( 'productErrorList', [] ), $error); |
|
362 | + $view->productErrorList = array_merge( $view->get( 'productErrorList', [] ), $error ); |
|
363 | 363 | $this->logException( $e ); |
364 | 364 | } |
365 | 365 | } |
@@ -248,7 +248,7 @@ |
||
248 | 248 | catch( \Aimeos\Controller\Frontend\Basket\Exception $e ) |
249 | 249 | { |
250 | 250 | $view->deliveryError = $e->getErrors(); |
251 | - $view->standardErrorList = array_merge($view->get( 'standardErrorList', [] ), $e->getErrors()); |
|
251 | + $view->standardErrorList = array_merge( $view->get( 'standardErrorList', [] ), $e->getErrors() ); |
|
252 | 252 | |
253 | 253 | throw $e; |
254 | 254 | } |