diff options
| author | brunoais <brunoaiss@gmail.com> | 2015-03-11 17:46:42 +0000 |
|---|---|---|
| committer | brunoais <brunoaiss@gmail.com> | 2015-06-07 18:40:44 +0100 |
| commit | 1e45a05000687994137adb7e415a9a39f9afd371 (patch) | |
| tree | 104f9fa84ed16487823e3139ff57438aa9b75d40 /phpBB/includes/mcp/mcp_main.php | |
| parent | 049f584111b5d7ce307d57d36b3be8a34d06194b (diff) | |
| download | forums-1e45a05000687994137adb7e415a9a39f9afd371.tar forums-1e45a05000687994137adb7e415a9a39f9afd371.tar.gz forums-1e45a05000687994137adb7e415a9a39f9afd371.tar.bz2 forums-1e45a05000687994137adb7e415a9a39f9afd371.tar.xz forums-1e45a05000687994137adb7e415a9a39f9afd371.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 10f1a5b8c1..fc28968101 100644 --- a/phpBB/includes/mcp/mcp_main.php +++ b/phpBB/includes/mcp/mcp_main.php @@ -1144,7 +1144,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_'))) { @@ -1222,7 +1222,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, $user, $phpbb_dispatcher); $search_mode = 'post'; if ($error) |
