// Format definitions
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11174 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -222,6 +222,9 @@ abstract class ObjectModelCore
|
||||
$this->validateFields();
|
||||
|
||||
$fields = array();
|
||||
if ($this->id)
|
||||
$fields[$this->def['primary']] = $this->id;
|
||||
|
||||
foreach ($this->def['fields'] as $field => $data)
|
||||
if (!isset($data['lang']) || !$data['lang'])
|
||||
switch ($data['type'])
|
||||
|
||||
Reference in New Issue
Block a user