From 77c936eef3ba0e2fe270c7f15ed625138e6d7529 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sat, 16 Sep 2006 21:05:03 +0000 Subject: [PATCH] =?UTF-8?q?On=20peut=20saisir=20des=20lignes=20avec=20mont?= =?UTF-8?q?ant=20=E0=200?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/compta/facture.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/compta/facture.php b/htdocs/compta/facture.php index 8cc69731cb1..9081659391b 100644 --- a/htdocs/compta/facture.php +++ b/htdocs/compta/facture.php @@ -529,7 +529,7 @@ if ($_POST['action'] == 'add' && $user->rights->facture->creer) */ if (($_POST['action'] == 'addligne' || $_POST['action'] == 'addligne_predef') && $user->rights->facture->creer) { - if ($_POST['qty'] && (($_POST['pu']!=0 && $_POST['desc']) || $_POST['idprod'])) + if ($_POST['qty'] && (($_POST['pu']!='' && $_POST['desc']) || $_POST['idprod'])) { $fac = new Facture($db); $ret=$fac->fetch($_POST['facid']);