Merge pull request #911 from atm-maxime/develop

Fix : extrafields were save without escape
This commit is contained in:
Laurent Destailleur 2013-05-02 10:43:14 -07:00
commit 77956a5676

View File

@ -2165,7 +2165,7 @@ abstract class CommonObject
{ {
if ($this->array_options[$key] != '') if ($this->array_options[$key] != '')
{ {
$sql.=",'".$this->array_options[$key]."'"; $sql.=",'".$this->db->escape($this->array_options[$key])."'";
} }
else else
{ {