[ticket/16771] Add missing phpbb_dispatcher to globals

PHPBB3-16771
This commit is contained in:
Marc Alexander 2021-05-16 21:05:27 +02:00
parent ab38261937
commit 6b5363d43a
No known key found for this signature in database
GPG key ID: 50E0D2423696F995

View file

@ -470,7 +470,8 @@ function mcp_topic_view($id, $mode, $action)
*/
function split_topic($action, $topic_id, $to_forum_id, $subject)
{
global $db, $template, $user, $phpEx, $phpbb_root_path, $auth, $config, $phpbb_log, $request, $phpbb_container;
global $db, $template, $user, $phpEx, $phpbb_root_path, $auth, $config, $phpbb_log, $request;
global $phpbb_container, $phpbb_dispatcher;
$post_id_list = $request->variable('post_id_list', array(0));
$forum_id = $request->variable('forum_id', 0);