// Fix on Module API for retrocompatibility

This commit is contained in:
fSerny committed 2011-11-02 12:42:48 +00:00
1 parent 1d8deba102
commit bd14ab595a
2 files changed
+6 -2

No files matched your search

+1 -1
View File
@@ -840,7 +840,7 @@ abstract class ModuleCore
$sql .= '
LEFT JOIN `'._DB_PREFIX_.'group_module_restriction` gmr ON gmr.`id_module` = m.`id_module`';
$sql .= '
WHERE h.`name` = \''.$hookPayment.'\'
WHERE h.`name` = \''.pSQL($hookPayment).'\'
AND mc.id_country = '.(int)($billing->id_country).'
AND mc.id_shop = '.(int)$context->shop->getID(true).'
AND mg.id_shop = '.(int)$context->shop->getID(true).'