// Fix duplication of images

This commit is contained in:
rMalie
2011-12-20 09:40:59 +00:00
parent 2f92d7d271
commit 2947749755
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)
{
}
}