// Fix duplication of images

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11395 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
rMalie
2011-12-20 09:40:59 +00:00
parent 67dff10638
commit 33b340dcaa
2 changed files with 7 additions and 1 deletions
+6 -1
View File
@@ -270,7 +270,7 @@ abstract class ObjectModelCore
$fields = array();
// Set primary key in fields
if ($this->id)
if (isset($this->id))
$fields[$this->def['primary']] = $this->id;
// Set id_lang field for multilang fields and id_shop for multishop field
@@ -1259,4 +1259,9 @@ abstract class ObjectModelCore
$this->def['fields'][$field]['size'] = $size;
}
}
public function getEntity($entity)
{
}
}