Oops, bad fix
This commit is contained in:
parent
f041a8a95e
commit
ffa2c2fb58
1 changed files with 1 additions and 1 deletions
|
|
@ -646,7 +646,7 @@ else if ($action == "addline" && $user->rights->propal->creer)
|
|||
$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_ttc=0;
|
||||
|
|
|
|||
Loading…
Reference in a new issue