// allow hook exceptions on product comparison page
This commit is contained in:
+1
-1
@@ -450,7 +450,7 @@ class HookCore extends ObjectModel
|
|||||||
//retro compat of controller names
|
//retro compat of controller names
|
||||||
$matching_name = array(
|
$matching_name = array(
|
||||||
'authentication' => 'auth',
|
'authentication' => 'auth',
|
||||||
'compare' => 'products-comparison',
|
'productscomparison' => 'compare'
|
||||||
);
|
);
|
||||||
if (isset($matching_name[$controller]) && in_array($matching_name[$controller], $exceptions))
|
if (isset($matching_name[$controller]) && in_array($matching_name[$controller], $exceptions))
|
||||||
continue;
|
continue;
|
||||||
|
|||||||
Reference in New Issue
Block a user