[-] FO : in multistore payment module restrictions by customer group was not applied to specific shop
This commit is contained in:
1 parent
03ad842697
commit
8c8340db4e
1 file changed
+1
-1
+1
-1
@@ -324,7 +324,7 @@ class HookCore extends ObjectModel
|
|||||||
if ($frontend)
|
if ($frontend)
|
||||||
{
|
{
|
||||||
$sql->leftJoin('module_group', 'mg', 'mg.`id_module` = m.`id_module`');
|
$sql->leftJoin('module_group', 'mg', 'mg.`id_module` = m.`id_module`');
|
||||||
$sql->where('mg.`id_group` IN ('.implode(', ', $groups).')');
|
$sql->where('mg.id_shop = '.((int)$context->shop->id).' AND mg.`id_group` IN ('.implode(', ', $groups).')');
|
||||||
$sql->groupBy('hm.id_hook, hm.id_module');
|
$sql->groupBy('hm.id_hook, hm.id_module');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user