Merge pull request #911 from atm-maxime/develop
Fix : extrafields were save without escape
This commit is contained in:
commit
77956a5676
@ -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
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user