From c990e937fc2a767dafe5edcf91d05734cac647f7 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Tue, 13 Jun 2006 14:53:36 +0000 Subject: [PATCH] bugfix --- htdocs/propal.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/propal.class.php b/htdocs/propal.class.php index 722f9c79d8d..061762cced0 100644 --- a/htdocs/propal.class.php +++ b/htdocs/propal.class.php @@ -708,7 +708,7 @@ class Propal $sql.= "'".addslashes($this->note_public)."',"; $sql.= "'$this->modelpdf',".$this->db->idate($this->fin_validite).","; $sql.= " $this->cond_reglement_id, $this->mode_reglement_id,"; - $sql.= " ".$this->db->idate($this->date_livraison).",".addslashes($this->ref_client).")"; + $sql.= " ".$this->db->idate($this->date_livraison).",'".addslashes($this->ref_client)."')"; $resql=$this->db->query($sql); if ($resql)