// Some fix on objectModel children classes (fields not valid, etc.)
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@9985 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
+1
-1
@@ -989,7 +989,7 @@ abstract class ModuleCore
|
||||
$sql = 'SELECT id_module, id_shop
|
||||
FROM '._DB_PREFIX_.'hook_module
|
||||
WHERE id_hook = '.(int)$id_hook.'
|
||||
'.((!is_null($shopList)) ? ' AND id_shop IN('.implode(', ', $shopList).')' : '').'
|
||||
'.((!is_null($shopList) && $shopList) ? ' AND id_shop IN('.implode(', ', $shopList).')' : '').'
|
||||
ORDER BY position';
|
||||
$results = Db::getInstance()->executeS($sql);
|
||||
$position = array();
|
||||
|
||||
Reference in New Issue
Block a user