// Fix shop association on new object + some strict standard for Franck

This commit is contained in:
rMalie committed 2011-07-11 13:18:17 +00:00
1 parent 55007357e1
commit 923269001b
5 files changed
+23 -22

No files matched your search

+1 -1
View File
@@ -290,7 +290,7 @@ abstract class ModuleCore
{
$sql = 'DELETE FROM '._DB_PREFIX_.'module_shop
WHERE id_module = '.$this->id.'
'.((!$foreAll) ? ' AND id_shop IN('.implode(', ', Shop::getListOfID($this->shopID, $this->shopGroupID)).')' : '');
'.((!$forceAll) ? ' AND id_shop IN('.implode(', ', Shop::getListOfID($this->shopID, $this->shopGroupID)).')' : '');
Db::getInstance()->execute($sql);
}