Merge pull request #1844 from atm-alexis/3.5

FIX error sql on update ficheinter
This commit is contained in:
Juanjo Menent 2014-08-23 14:32:25 +02:00
commit 4d0301f5df

View File

@ -235,7 +235,7 @@ class Fichinter extends CommonObject
$this->db->begin();
$sql = "UPDATE ".MAIN_DB_PREFIX."fichinter SET ";
$sql.= ", description = '".$this->db->escape($this->description)."'";
$sql.= "description = '".$this->db->escape($this->description)."'";
$sql.= ", duree = ".$this->duree;
$sql.= ", fk_projet = ".$this->fk_project;
$sql.= ", note_private = ".($this->note_private?"'".$this->db->escape($this->note_private)."'":"null");