@@ -185,22 +185,22 @@ discard block |
||
| 185 | 185 | catch( \Aimeos\Client\Html\Exception $e ) |
| 186 | 186 | { |
| 187 | 187 | $error = array( $context->getI18n()->dt( 'client', $e->getMessage() ) ); |
| 188 | - $view->listErrorList = array_merge($view->get( 'listErrorList', [] ), $error); |
|
| 188 | + $view->listErrorList = array_merge( $view->get( 'listErrorList', [] ), $error ); |
|
| 189 | 189 | } |
| 190 | 190 | catch( \Aimeos\Controller\Frontend\Exception $e ) |
| 191 | 191 | { |
| 192 | 192 | $error = array( $context->getI18n()->dt( 'controller/frontend', $e->getMessage() ) ); |
| 193 | - $view->listErrorList = array_merge($view->get( 'listErrorList', [] ), $error); |
|
| 193 | + $view->listErrorList = array_merge( $view->get( 'listErrorList', [] ), $error ); |
|
| 194 | 194 | } |
| 195 | 195 | catch( \Aimeos\MShop\Exception $e ) |
| 196 | 196 | { |
| 197 | 197 | $error = array( $context->getI18n()->dt( 'mshop', $e->getMessage() ) ); |
| 198 | - $view->listErrorList = array_merge($view->get( 'listErrorList', [] ), $error); |
|
| 198 | + $view->listErrorList = array_merge( $view->get( 'listErrorList', [] ), $error ); |
|
| 199 | 199 | } |
| 200 | 200 | catch( \Exception $e ) |
| 201 | 201 | { |
| 202 | 202 | $error = array( $context->getI18n()->dt( 'client', 'A non-recoverable error occured' ) ); |
| 203 | - $view->listErrorList = array_merge($view->get( 'listErrorList', [] ), $error); |
|
| 203 | + $view->listErrorList = array_merge( $view->get( 'listErrorList', [] ), $error ); |
|
| 204 | 204 | $this->logException( $e ); |
| 205 | 205 | } |
| 206 | 206 | |
@@ -417,22 +417,22 @@ discard block |
||
| 417 | 417 | catch( \Aimeos\Client\Html\Exception $e ) |
| 418 | 418 | { |
| 419 | 419 | $error = array( $context->getI18n()->dt( 'client', $e->getMessage() ) ); |
| 420 | - $view->listErrorList = array_merge($view->get( 'listErrorList', [] ), $error); |
|
| 420 | + $view->listErrorList = array_merge( $view->get( 'listErrorList', [] ), $error ); |
|
| 421 | 421 | } |
| 422 | 422 | catch( \Aimeos\Controller\Frontend\Exception $e ) |
| 423 | 423 | { |
| 424 | 424 | $error = array( $context->getI18n()->dt( 'controller/frontend', $e->getMessage() ) ); |
| 425 | - $view->listErrorList = array_merge($view->get( 'listErrorList', [] ), $error); |
|
| 425 | + $view->listErrorList = array_merge( $view->get( 'listErrorList', [] ), $error ); |
|
| 426 | 426 | } |
| 427 | 427 | catch( \Aimeos\MShop\Exception $e ) |
| 428 | 428 | { |
| 429 | 429 | $error = array( $context->getI18n()->dt( 'mshop', $e->getMessage() ) ); |
| 430 | - $view->listErrorList = array_merge($view->get( 'listErrorList', [] ), $error); |
|
| 430 | + $view->listErrorList = array_merge( $view->get( 'listErrorList', [] ), $error ); |
|
| 431 | 431 | } |
| 432 | 432 | catch( \Exception $e ) |
| 433 | 433 | { |
| 434 | 434 | $error = array( $context->getI18n()->dt( 'client', 'A non-recoverable error occured' ) ); |
| 435 | - $view->listErrorList = array_merge($view->get( 'listErrorList', [] ), $error); |
|
| 435 | + $view->listErrorList = array_merge( $view->get( 'listErrorList', [] ), $error ); |
|
| 436 | 436 | $this->logException( $e ); |
| 437 | 437 | } |
| 438 | 438 | } |
@@ -657,7 +657,7 @@ discard block |
||
| 657 | 657 | if( $catids != null ) |
| 658 | 658 | { |
| 659 | 659 | $controller = \Aimeos\Controller\Frontend::create( $context, 'catalog' ) |
| 660 | - ->uses($domains); |
|
| 660 | + ->uses( $domains ); |
|
| 661 | 661 | $listCatPath = $controller->getPath( is_array( $catids ) ? reset( $catids ) : $catids ); |
| 662 | 662 | |
| 663 | 663 | if( ( $categoryItem = end( $listCatPath ) ) !== false ) { |