@@ -240,22 +240,22 @@ |
||
| 240 | 240 | } |
| 241 | 241 | |
| 242 | 242 | /** client/html/catalog/session/pinned/maxitems |
| 243 | - * Maximum number of products displayed in the "pinned" section |
|
| 244 | - * |
|
| 245 | - * This option limits the number of products that are shown in the |
|
| 246 | - * "pinned" section after the users added the product to their list |
|
| 247 | - * of pinned products. It must be a positive integer value greater |
|
| 248 | - * than 0. |
|
| 249 | - * |
|
| 250 | - * Note: The higher the value is the more data has to be transfered |
|
| 251 | - * to the client each time the user loads a page with the list of |
|
| 252 | - * pinned products. |
|
| 253 | - * |
|
| 254 | - * @param integer Number of products |
|
| 255 | - * @since 2014.09 |
|
| 256 | - * @category User |
|
| 257 | - * @category Developer |
|
| 258 | - */ |
|
| 243 | + * Maximum number of products displayed in the "pinned" section |
|
| 244 | + * |
|
| 245 | + * This option limits the number of products that are shown in the |
|
| 246 | + * "pinned" section after the users added the product to their list |
|
| 247 | + * of pinned products. It must be a positive integer value greater |
|
| 248 | + * than 0. |
|
| 249 | + * |
|
| 250 | + * Note: The higher the value is the more data has to be transfered |
|
| 251 | + * to the client each time the user loads a page with the list of |
|
| 252 | + * pinned products. |
|
| 253 | + * |
|
| 254 | + * @param integer Number of products |
|
| 255 | + * @since 2014.09 |
|
| 256 | + * @category User |
|
| 257 | + * @category Developer |
|
| 258 | + */ |
|
| 259 | 259 | $max = $context->getConfig()->get( 'client/html/catalog/session/pinned/maxitems', 50 ); |
| 260 | 260 | |
| 261 | 261 | $pinned = array_slice( $pinned, -$max, $max, true ); |
@@ -184,7 +184,7 @@ |
||
| 184 | 184 | $error = array( $context->getI18n()->dt( 'controller/frontend', $e->getMessage() ) ); |
| 185 | 185 | $view->detailErrorList = array_merge( $view->get( 'detailErrorList', [] ), $error ); |
| 186 | 186 | |
| 187 | - if ( $e->getCode() === 404 ) { throw $e; } |
|
| 187 | + if ( $e->getCode() === 404 ) { throw $e; } |
|
| 188 | 188 | } |
| 189 | 189 | catch( \Aimeos\MShop\Exception $e ) |
| 190 | 190 | { |