// 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
|
||||
$matching_name = array(
|
||||
'authentication' => 'auth',
|
||||
'compare' => 'products-comparison',
|
||||
'productscomparison' => 'compare'
|
||||
);
|
||||
if (isset($matching_name[$controller]) && in_array($matching_name[$controller], $exceptions))
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user