diff --git a/htdocs/compta/facture.php b/htdocs/compta/facture.php index 34126cc25b1..cb54afd5e8d 100644 --- a/htdocs/compta/facture.php +++ b/htdocs/compta/facture.php @@ -334,7 +334,7 @@ if ($_POST['action'] == 'setremise' && $user->rights->facture->creer) if ($_POST['action'] == 'addligne' && $user->rights->facture->creer) { - if ($_POST['qty'] && (($_POST['pu']>=0 && $_POST['desc']) || $_POST['idprod'])) + if ($_POST['qty'] && ( $_POST['desc'] || $_POST['idprod'])) { $fac = new Facture($db); $fac->fetch($_POST['facid']);