FIX: fix template path registrator

This commit is contained in:
Michal Kváček
2016-09-28 00:14:18 +02:00
parent 3a0a132701
commit 5b9b5c0d38
4 changed files with 10 additions and 4 deletions
@@ -33,6 +33,9 @@ class AdminMenuRegistrator
// iterate over all enabled modules
foreach ($modules as $key => $module) {
if (!is_callable([$module->handler, 'registerAdminMenu']))
continue;
// try to register menus
try {
call_user_func([$module->handler, 'registerAdminMenu'], $user);