mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 04:18:52 +00:00
Merge pull request #6215 from marc1706/ticket/16771
[ticket/16771] Add missing phpbb_dispatcher to globals
This commit is contained in:
commit
c1989fc1aa
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||||
|
|
Loading…
Add table
Reference in a new issue