[feature/php-events] Add missing global $phpbb_dispatcher

PHPBB3-9550
This commit is contained in:
Joas Schilling 2012-06-20 15:58:12 +02:00
parent 3af0ae69ee
commit 758fb67a7d

View file

@ -22,7 +22,7 @@ function mcp_forum_view($id, $mode, $action, $forum_info)
{ {
global $template, $db, $user, $auth, $cache, $module; global $template, $db, $user, $auth, $cache, $module;
global $phpEx, $phpbb_root_path, $config; global $phpEx, $phpbb_root_path, $config;
global $request; global $request, $phpbb_dispatcher;
$user->add_lang(array('viewtopic', 'viewforum')); $user->add_lang(array('viewtopic', 'viewforum'));