Fix : extrafields were save without escape

This commit is contained in:
Maxime Kohlhaas 2013-05-02 12:14:29 +02:00
parent 09c53cbe40
commit 80cf467c47

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
{ {