// Fix hook list problem on multishop
This commit is contained in:
1 parent
32a85007df
commit
c458e059d5
1 file changed
+1
-1
+1
-1
@@ -278,7 +278,7 @@ class HookCore extends ObjectModel
|
|||||||
public static function getHookModuleExecList($hook_name = null)
|
public static function getHookModuleExecList($hook_name = null)
|
||||||
{
|
{
|
||||||
$context = Context::getContext();
|
$context = Context::getContext();
|
||||||
$cache_id = 'hook_module_exec_list'.((isset($context->customer)) ? '_'.$context->customer->id : '');
|
$cache_id = 'hook_module_exec_list_'.(int)$context->shop->id.((isset($context->customer)) ? '_'.$context->customer->id : '');
|
||||||
if (!Cache::isStored($cache_id) || $hook_name == 'displayPayment')
|
if (!Cache::isStored($cache_id) || $hook_name == 'displayPayment')
|
||||||
{
|
{
|
||||||
$frontend = true;
|
$frontend = true;
|
||||||
|
|||||||
Reference in new issue
Block a user