// Routes for dispatcher (part 2)

This commit is contained in:
rMalie committed 2011-07-25 20:16:53 +00:00
1 parent 611b180b82
commit 3a97b4b6f3
5 files changed
+80 -65

No files matched your search

+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)))