// Routes for dispatcher (part 2)

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@7728 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
rMalie
2011-07-25 20:16:53 +00:00
parent 771e36aecb
commit 4f76b91de5
5 changed files with 80 additions and 65 deletions
+1 -1
View File
@@ -758,7 +758,7 @@ abstract class ModuleCore
continue;
$exceptions = $moduleInstance->getExceptions($array['id_hook']);
if (in_array(Dispatcher::$controller, $exceptions))
if (in_array(Dispatcher::getInstance()->getController(), $exceptions))
continue;
if (is_callable(array($moduleInstance, 'hook'.$hook_name)))