Passed
Push — master ( 96a3e9...760ace )
by Aimeos
04:30
created
src/Aimeos/Shop/Controller/CatalogController.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -55,10 +55,13 @@
 block discarded – undo
55 55
 
56 56
 		foreach( app( 'config' )->get( 'shop.page.catalog-detail' ) as $name )
57 57
 		{
58
-			try {
58
+			try
59
+			{
59 60
 				$params['aiheader'][$name] = Shop::get( $name )->header();
60 61
 				$params['aibody'][$name] = Shop::get( $name )->body();
61
-			} catch( \Exception $e ) {
62
+			}
63
+			catch( \Exception $e )
64
+			{
62 65
 				if( $e->getCode() === 404 ) { abort( 404 ); }
63 66
 				throw $e;
64 67
 			}
Please login to merge, or discard this patch.