// Fix hook list problem on multishop

This commit is contained in:
Jerome Nadaud
2013-10-22 16:18:50 +02:00
parent 32a85007df
commit c458e059d5
+1 -1
View File
@@ -278,7 +278,7 @@ class HookCore extends ObjectModel
public static function getHookModuleExecList($hook_name = null)
{
$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')
{
$frontend = true;