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