// Remove $this->table and $this->identifier from objectModels + normalize

This commit is contained in:
rMalie
2011-12-09 14:05:24 +00:00
parent 540858527b
commit a284e2ef8b
20 changed files with 124 additions and 115 deletions
+1 -1
View File
@@ -123,7 +123,7 @@ class ImageCore extends ObjectModel
{
$row['position'] = $i++;
Db::getInstance()->AutoExecute(
_DB_PREFIX_.$this->table,
_DB_PREFIX_.$this->def['table'],
$row,
'UPDATE',
'`id_image` = '.(int)$row['id_image'], 1