mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-13 21:26:28 +02:00
[feature/php-events] Add missing global $phpbb_dispatcher
PHPBB3-9550
This commit is contained in:
@ -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'));
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user