// Remove retrocompatibility stripslashes in ObjectModel
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11282 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -201,9 +201,7 @@ abstract class ObjectModelCore
|
|||||||
{
|
{
|
||||||
if (!is_array($this->{$key}))
|
if (!is_array($this->{$key}))
|
||||||
$this->{$key} = array();
|
$this->{$key} = array();
|
||||||
|
$this->{$key}[$row['id_lang']] = $value;
|
||||||
// @Todo: stripslashes() MUST BE removed in 1.4.6 and later, but is kept in 1.4.5 for a compatibility issue
|
|
||||||
$this->{$key}[$row['id_lang']] = stripslashes($value);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user