Passed
Push — master ( adc0fd...491a21 )
by Aimeos
03:47
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
@@ -447,8 +447,7 @@
 block discarded – undo
447 447
 				$listItem = \Aimeos\MShop::create( $context, 'product' )->createListsItem();
448 448
 				$item = $item->addListItem( 'attribute', $listItem->setType( 'custom' ), $attrItem );
449 449
 			}
450
-		}
451
-		else
450
+		} else
452 451
 		{
453 452
 			if( ( $litem = $item->getListItem( 'attribute', 'custom', $attrItem->getId(), false ) ) !== null ) {
454 453
 				$item = $item->deleteListItem( 'attribute', $litem );
Please login to merge, or discard this patch.