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)