Passed
Push — master ( 0b23d7...d6ac19 )
by Aimeos
03:09
created
admin/jqadm/src/Admin/JQAdm/Product/Price/Standard.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -445,8 +445,7 @@
 block discarded – undo
445 445
 				$listItem = \Aimeos\MShop::create( $context, 'product' )->createListItem();
446 446
 				$item = $item->addListItem( 'attribute', $listItem->setType( 'custom' ), $attrItem );
447 447
 			}
448
-		}
449
-		else
448
+		} else
450 449
 		{
451 450
 			if( ( $litem = $item->getListItem( 'attribute', 'custom', $attrItem->getId(), false ) ) !== null ) {
452 451
 				$item = $item->deleteListItem( 'attribute', $litem );
Please login to merge, or discard this patch.