Fix: pgsql compatibility

This commit is contained in:
eldy 2011-09-11 01:54:43 +02:00
parent 1ad4ad12ac
commit feb4fa7c72

View File

@ -236,7 +236,7 @@ class Facture extends CommonObject
$sql.= ", ".$conf->entity;
$sql.= ", '".$this->type."'";
$sql.= ", '".$socid."'";
$sql.= ", ".$this->db->idate($now);
$sql.= ", '".$this->db->idate($now)."'";
$sql.= ", '".$totalht."'";
$sql.= ",".($this->remise_absolue>0?$this->remise_absolue:'NULL');
$sql.= ",".($this->remise_percent>0?$this->remise_percent:'NULL');