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();