Oops, bad fix
This commit is contained in:
parent
f041a8a95e
commit
ffa2c2fb58
@ -646,7 +646,7 @@ else if ($action == "addline" && $user->rights->propal->creer)
|
|||||||
$error++;
|
$error++;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (! $error && (GETPOST('qty') != 0) && (! empty($product_desc) || ! empty($idprod))) // Price can be negative for proposal.
|
if (! $error && (GETPOST('qty') >= 0) && (! empty($product_desc) || ! empty($idprod)))
|
||||||
{
|
{
|
||||||
$pu_ht=0;
|
$pu_ht=0;
|
||||||
$pu_ttc=0;
|
$pu_ttc=0;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user