Passed
Push — master ( 69aa47...33fdac )
by Aimeos
04:17
created
src/Admin/JQAdm/Product/Price/Standard.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -281,9 +281,12 @@
 block discarded – undo
281 281
 	{
282 282
 		$manager = \Aimeos\MShop::create( $this->context(), 'attribute' );
283 283
 
284
-		try {
284
+		try
285
+		{
285 286
 			return $manager->find( 'custom', [], 'product', 'price' );
286
-		} catch( \Aimeos\MShop\Exception $e ) {
287
+		}
288
+		catch( \Aimeos\MShop\Exception $e )
289
+		{
287 290
 			return $manager->save( $manager->create()->setDomain( 'product' )->setType( 'price' )->setCode( 'custom' ) );
288 291
 		}
289 292
 	}
Please login to merge, or discard this patch.