mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-20 16:41:26 +02:00
Merge pull request #6215 from marc1706/ticket/16771
[ticket/16771] Add missing phpbb_dispatcher to globals
This commit is contained in:
@@ -470,7 +470,8 @@ function mcp_topic_view($id, $mode, $action)
|
|||||||
*/
|
*/
|
||||||
function split_topic($action, $topic_id, $to_forum_id, $subject)
|
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));
|
$post_id_list = $request->variable('post_id_list', array(0));
|
||||||
$forum_id = $request->variable('forum_id', 0);
|
$forum_id = $request->variable('forum_id', 0);
|
||||||
|
Reference in New Issue
Block a user