diff --git a/htdocs/bom/bom_card.php b/htdocs/bom/bom_card.php index 6743ec3c761..2eff03dce82 100644 --- a/htdocs/bom/bom_card.php +++ b/htdocs/bom/bom_card.php @@ -181,8 +181,7 @@ if (empty($reshook)) { } if (!$error) { - - $result = $object->addLine($idprod,$qty,$qty_frozen,$disable_stock_change,$efficiency,-1,$bom_child_id,null); + $result = $object->addLine($idprod, $qty, $qty_frozen, $disable_stock_change, $efficiency, -1, $bom_child_id, null); if ($result <= 0) { setEventMessages($object->error, $object->errors, 'errors');