From 640971635bc6b856f9ad47cf47bf3554d711c564 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Mon, 9 Jul 2007 21:52:26 +0000 Subject: [PATCH] Fix: Pb utilisation factures recurrentes --- htdocs/facture.class.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/htdocs/facture.class.php b/htdocs/facture.class.php index bc626e8c512..63d2ae0ff80 100644 --- a/htdocs/facture.class.php +++ b/htdocs/facture.class.php @@ -2836,6 +2836,10 @@ class FactureLigne { global $langs; + // Nettoyage parametres + if (! $this->subprice) $this->subprice=0; + if (! $this->price) $this->price=0; + dolibarr_syslog("FactureLigne::Insert rang=".$this->rang, LOG_DEBUG); $this->db->begin();