From 30e2ec3a97938438d5239a327e0103462d4f358c Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 14 Oct 2008 00:19:28 +0000 Subject: [PATCH] Fix: bug #24511 : Erreur de syntaxe sur paiementfourn.class.php --- htdocs/fourn/facture/paiementfourn.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/fourn/facture/paiementfourn.class.php b/htdocs/fourn/facture/paiementfourn.class.php index 16d77fbbb18..5b1a99170af 100644 --- a/htdocs/fourn/facture/paiementfourn.class.php +++ b/htdocs/fourn/facture/paiementfourn.class.php @@ -141,7 +141,7 @@ class PaiementFourn { $sql = 'INSERT INTO '.MAIN_DB_PREFIX.'paiementfourn ('; $sql.= 'datec, datep, amount, fk_paiement, num_paiement, note, fk_user_author, fk_bank)'; - $sql.= ' VALUES (".$this->db->idate(mktime()).",'; + $sql.= ' VALUES ('.$this->db->idate(mktime()).','; $sql.= " ".$this->db->idate($this->datepaye).", '".$this->total."', ".$this->paiementid.", '".$this->num_paiement."', '".addslashes($this->note)."', ".$user->id.", 0)"; dolibarr_syslog("PaiementFourn::create sql=".$sql);