From 6b5363d43a3080929c5299bd7183d6135ab46a73 Mon Sep 17 00:00:00 2001 From: Marc Alexander Date: Sun, 16 May 2021 21:05:27 +0200 Subject: [PATCH] [ticket/16771] Add missing phpbb_dispatcher to globals PHPBB3-16771 --- phpBB/includes/mcp/mcp_topic.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/phpBB/includes/mcp/mcp_topic.php b/phpBB/includes/mcp/mcp_topic.php index 09d71458ee..3477e880ec 100644 --- a/phpBB/includes/mcp/mcp_topic.php +++ b/phpBB/includes/mcp/mcp_topic.php @@ -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);