// BugFix : Missing params multilang
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11486 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -395,8 +395,8 @@ abstract class ObjectModelCore
|
||||
foreach ($fields as &$field)
|
||||
{
|
||||
foreach (array_keys($field) AS $key)
|
||||
if (!Validate::isTableOrIdentifier($key))
|
||||
throw new PrestashopException('key '.$key.' is not table or identifier, ');
|
||||
if (!Validate::isTableOrIdentifier($key))
|
||||
throw new PrestashopException('key '.$key.' is not table or identifier, ');
|
||||
$field[$this->def['primary']] = (int)$this->id;
|
||||
|
||||
if (isset($assos[$this->def['table'].'_lang']) && $assos[$this->def['table'].'_lang']['type'] == 'fk_shop')
|
||||
|
||||
Reference in New Issue
Block a user