diff options
author | brunoais <brunoaiss@gmail.com> | 2015-03-11 17:46:42 +0000 |
---|---|---|
committer | brunoais <brunoaiss@gmail.com> | 2015-03-12 12:21:15 +0000 |
commit | c3a0e09ddbb53dc77d2d78725f934625266065f3 (patch) | |
tree | 094cc17bd3a3355645c615b96f5c44d54f199eaf /phpBB/includes/mcp/mcp_main.php | |
parent | 2348580255b19919e2b0d22143be72494a79e527 (diff) | |
download | forums-c3a0e09ddbb53dc77d2d78725f934625266065f3.tar forums-c3a0e09ddbb53dc77d2d78725f934625266065f3.tar.gz forums-c3a0e09ddbb53dc77d2d78725f934625266065f3.tar.bz2 forums-c3a0e09ddbb53dc77d2d78725f934625266065f3.tar.xz forums-c3a0e09ddbb53dc77d2d78725f934625266065f3.zip |
[ticket/13685] Add phpbb_dispatcher to fulltext search constructors
PHPBB3-13685
Diffstat (limited to 'phpBB/includes/mcp/mcp_main.php')
-rw-r--r-- | phpBB/includes/mcp/mcp_main.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/mcp/mcp_main.php b/phpBB/includes/mcp/mcp_main.php index 1241b8bd0e..479a48fa05 100644 --- a/phpBB/includes/mcp/mcp_main.php +++ b/phpBB/includes/mcp/mcp_main.php @@ -1119,7 +1119,7 @@ function mcp_delete_post($post_ids, $is_soft = false, $soft_delete_reason = '', function mcp_fork_topic($topic_ids) { global $auth, $user, $db, $template, $config; - global $phpEx, $phpbb_root_path; + global $phpEx, $phpbb_root_path, $phpbb_dispatcher; if (!phpbb_check_ids($topic_ids, TOPICS_TABLE, 'topic_id', array('m_'))) { @@ -1197,7 +1197,7 @@ function mcp_fork_topic($topic_ids) } $error = false; - $search = new $search_type($error, $phpbb_root_path, $phpEx, $auth, $config, $db, $user); + $search = new $search_type($error, $phpbb_root_path, $phpEx, $auth, $config, $db, $phpbb_dispatcher, $user); $search_mode = 'post'; if ($error) |