// Fixed #PSTEST-598 #PSTEST-599
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@12791 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
1 parent
366d7e5f7b
commit
78087fee18
1 file changed
+1
-1
@@ -541,7 +541,7 @@ abstract class ObjectModelCore
|
|||||||
|
|
||||||
$assos = GroupShop::getAssoTables();
|
$assos = GroupShop::getAssoTables();
|
||||||
if (isset($assos[$this->def['table']]) && $assos[$this->def['table']]['type'] == 'group_shop')
|
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 actionObject*DeleteAfter
|
||||||
Hook::exec('actionObjectDeleteAfter', array('object' => $this));
|
Hook::exec('actionObjectDeleteAfter', array('object' => $this));
|
||||||
|
|||||||
Reference in new issue
Block a user