@@ -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 | } |
@@ -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->standardErrorList = array_merge($view->get( 'standardErrorList', [] ), $error); |
|
| 89 | + $view->standardErrorList = array_merge( $view->get( 'standardErrorList', [] ), $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->standardErrorList = array_merge($view->get( 'standardErrorList', [] ), $error); |
|
| 94 | + $view->standardErrorList = array_merge( $view->get( 'standardErrorList', [] ), $error ); |
|
| 95 | 95 | } |
| 96 | 96 | catch( \Aimeos\MShop\Exception $e ) |
| 97 | 97 | { |
| 98 | 98 | $error = array( $context->getI18n()->dt( 'mshop', $e->getMessage() ) ); |
| 99 | - $view->standardErrorList = array_merge($view->get( 'standardErrorList', [] ), $error); |
|
| 99 | + $view->standardErrorList = array_merge( $view->get( 'standardErrorList', [] ), $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->standardErrorList = array_merge($view->get( 'standardErrorList', [] ), $error); |
|
| 104 | + $view->standardErrorList = array_merge( $view->get( 'standardErrorList', [] ), $error ); |
|
| 105 | 105 | $this->logException( $e ); |
| 106 | 106 | } |
| 107 | 107 | |
@@ -345,7 +345,7 @@ discard block |
||
| 345 | 345 | catch( \Aimeos\Controller\Frontend\Exception $e ) |
| 346 | 346 | { |
| 347 | 347 | $error = array( $context->getI18n()->dt( 'controller/frontend', $e->getMessage() ) ); |
| 348 | - $view->standardErrorList = array_merge($view->get( 'standardErrorList', [] ), $error); |
|
| 348 | + $view->standardErrorList = array_merge( $view->get( 'standardErrorList', [] ), $error ); |
|
| 349 | 349 | } |
| 350 | 350 | catch( \Aimeos\MShop\Plugin\Provider\Exception $e ) |
| 351 | 351 | { |
@@ -353,17 +353,17 @@ discard block |
||
| 353 | 353 | $errors = array_merge( $errors, $this->translatePluginErrorCodes( $e->getErrorCodes() ) ); |
| 354 | 354 | |
| 355 | 355 | $view->standardErrorCodes = $e->getErrorCodes(); |
| 356 | - $view->standardErrorList = array_merge($view->get( 'standardErrorList', [] ), $errors); |
|
| 356 | + $view->standardErrorList = array_merge( $view->get( 'standardErrorList', [] ), $errors ); |
|
| 357 | 357 | } |
| 358 | 358 | catch( \Aimeos\MShop\Exception $e ) |
| 359 | 359 | { |
| 360 | 360 | $error = array( $context->getI18n()->dt( 'mshop', $e->getMessage() ) ); |
| 361 | - $view->standardErrorList = array_merge($view->get( 'standardErrorList', [] ), $error); |
|
| 361 | + $view->standardErrorList = array_merge( $view->get( 'standardErrorList', [] ), $error ); |
|
| 362 | 362 | } |
| 363 | 363 | catch( \Exception $e ) |
| 364 | 364 | { |
| 365 | 365 | $error = array( $context->getI18n()->dt( 'client', 'A non-recoverable error occured' ) ); |
| 366 | - $view->standardErrorList = array_merge($view->get( 'standardErrorList', [] ), $error); |
|
| 366 | + $view->standardErrorList = array_merge( $view->get( 'standardErrorList', [] ), $error ); |
|
| 367 | 367 | $this->logException( $e ); |
| 368 | 368 | } |
| 369 | 369 | |
@@ -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 | |
@@ -102,22 +102,22 @@ |
||
| 102 | 102 | catch( \Aimeos\Client\Html\Exception $e ) |
| 103 | 103 | { |
| 104 | 104 | $error = array( $context->getI18n()->dt( 'client', $e->getMessage() ) ); |
| 105 | - $view->miniErrorList = array_merge($view->get( 'miniErrorList', [] ), $error); |
|
| 105 | + $view->miniErrorList = array_merge( $view->get( 'miniErrorList', [] ), $error ); |
|
| 106 | 106 | } |
| 107 | 107 | catch( \Aimeos\Controller\Frontend\Exception $e ) |
| 108 | 108 | { |
| 109 | 109 | $error = array( $context->getI18n()->dt( 'controller/frontend', $e->getMessage() ) ); |
| 110 | - $view->miniErrorList = array_merge($view->get( 'miniErrorList', [] ), $error); |
|
| 110 | + $view->miniErrorList = array_merge( $view->get( 'miniErrorList', [] ), $error ); |
|
| 111 | 111 | } |
| 112 | 112 | catch( \Aimeos\MShop\Exception $e ) |
| 113 | 113 | { |
| 114 | 114 | $error = array( $context->getI18n()->dt( 'mshop', $e->getMessage() ) ); |
| 115 | - $view->miniErrorList = array_merge($view->get( 'miniErrorList', [] ), $error); |
|
| 115 | + $view->miniErrorList = array_merge( $view->get( 'miniErrorList', [] ), $error ); |
|
| 116 | 116 | } |
| 117 | 117 | catch( \Exception $e ) |
| 118 | 118 | { |
| 119 | 119 | $error = array( $context->getI18n()->dt( 'client', 'A non-recoverable error occured' ) ); |
| 120 | - $view->miniErrorList = array_merge($view->get( 'miniErrorList', [] ), $error); |
|
| 120 | + $view->miniErrorList = array_merge( $view->get( 'miniErrorList', [] ), $error ); |
|
| 121 | 121 | $this->logException( $e ); |
| 122 | 122 | } |
| 123 | 123 | |
@@ -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 | } |
@@ -170,22 +170,22 @@ discard block |
||
| 170 | 170 | catch( \Aimeos\Client\Html\Exception $e ) |
| 171 | 171 | { |
| 172 | 172 | $error = array( $context->getI18n()->dt( 'client', $e->getMessage() ) ); |
| 173 | - $view->detailErrorList = array_merge($view->get( 'detailErrorList', [] ), $error); |
|
| 173 | + $view->detailErrorList = array_merge( $view->get( 'detailErrorList', [] ), $error ); |
|
| 174 | 174 | } |
| 175 | 175 | catch( \Aimeos\Controller\Frontend\Exception $e ) |
| 176 | 176 | { |
| 177 | 177 | $error = array( $context->getI18n()->dt( 'controller/frontend', $e->getMessage() ) ); |
| 178 | - $view->detailErrorList = array_merge($view->get( 'detailErrorList', [] ), $error); |
|
| 178 | + $view->detailErrorList = array_merge( $view->get( 'detailErrorList', [] ), $error ); |
|
| 179 | 179 | } |
| 180 | 180 | catch( \Aimeos\MShop\Exception $e ) |
| 181 | 181 | { |
| 182 | 182 | $error = array( $context->getI18n()->dt( 'mshop', $e->getMessage() ) ); |
| 183 | - $view->detailErrorList = array_merge($view->get( 'detailErrorList', [] ), $error); |
|
| 183 | + $view->detailErrorList = array_merge( $view->get( 'detailErrorList', [] ), $error ); |
|
| 184 | 184 | } |
| 185 | 185 | catch( \Exception $e ) |
| 186 | 186 | { |
| 187 | 187 | $error = array( $context->getI18n()->dt( 'client', 'A non-recoverable error occured' ) ); |
| 188 | - $view->detailErrorList = array_merge($view->get( 'detailErrorList', [] ), $error); |
|
| 188 | + $view->detailErrorList = array_merge( $view->get( 'detailErrorList', [] ), $error ); |
|
| 189 | 189 | $this->logException( $e ); |
| 190 | 190 | } |
| 191 | 191 | |
@@ -394,22 +394,22 @@ discard block |
||
| 394 | 394 | catch( \Aimeos\Client\Html\Exception $e ) |
| 395 | 395 | { |
| 396 | 396 | $error = array( $context->getI18n()->dt( 'client', $e->getMessage() ) ); |
| 397 | - $view->detailErrorList = array_merge($view->get( 'detailErrorList', [] ), $error); |
|
| 397 | + $view->detailErrorList = array_merge( $view->get( 'detailErrorList', [] ), $error ); |
|
| 398 | 398 | } |
| 399 | 399 | catch( \Aimeos\Controller\Frontend\Exception $e ) |
| 400 | 400 | { |
| 401 | 401 | $error = array( $context->getI18n()->dt( 'controller/frontend', $e->getMessage() ) ); |
| 402 | - $view->detailErrorList = array_merge($view->get( 'detailErrorList', [] ), $error); |
|
| 402 | + $view->detailErrorList = array_merge( $view->get( 'detailErrorList', [] ), $error ); |
|
| 403 | 403 | } |
| 404 | 404 | catch( \Aimeos\MShop\Exception $e ) |
| 405 | 405 | { |
| 406 | 406 | $error = array( $context->getI18n()->dt( 'mshop', $e->getMessage() ) ); |
| 407 | - $view->detailErrorList = array_merge($view->get( 'detailErrorList', [] ), $error); |
|
| 407 | + $view->detailErrorList = array_merge( $view->get( 'detailErrorList', [] ), $error ); |
|
| 408 | 408 | } |
| 409 | 409 | catch( \Exception $e ) |
| 410 | 410 | { |
| 411 | 411 | $error = array( $context->getI18n()->dt( 'client', 'A non-recoverable error occured' ) ); |
| 412 | - $view->detailErrorList = array_merge($view->get( 'detailErrorList', [] ), $error); |
|
| 412 | + $view->detailErrorList = array_merge( $view->get( 'detailErrorList', [] ), $error ); |
|
| 413 | 413 | $this->logException( $e ); |
| 414 | 414 | } |
| 415 | 415 | } |