// Fixed #PSTEST-598 #PSTEST-599

This commit is contained in:
bMancone
2012-01-30 12:24:25 +00:00
parent 788b7411e4
commit d6f82058d5
+1 -1
View File
@@ -541,7 +541,7 @@ abstract class ObjectModelCore
$assos = GroupShop::getAssoTables();
if (isset($assos[$this->def['table']]) && $assos[$this->def['table']]['type'] == 'group_shop')
Db::getInstance()->delete('DELETE FROM `'._DB_PREFIX_.$this->def['table'].'_group_shop` WHERE `'.$this->def['primary'].'`='.(int)$this->id);
Db::getInstance()->delete(_DB_PREFIX_.$this->def['table'].'_group_shop', '`'.$this->def['primary'].'`='.(int)$this->id);
// @hook actionObject*DeleteAfter
Hook::exec('actionObjectDeleteAfter', array('object' => $this));