Fix: bug #24511 : Erreur de syntaxe sur paiementfourn.class.php

This commit is contained in:
Laurent Destailleur 2008-10-14 00:19:28 +00:00
parent 4b941222f2
commit 30e2ec3a97

View File

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