Oops, bad fix

This commit is contained in:
Laurent Destailleur 2013-03-08 10:22:30 +01:00
parent f041a8a95e
commit ffa2c2fb58

View File

@ -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;