aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/mcp/mcp_main.php
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2015-06-09 14:27:13 +0200
committerMarc Alexander <admin@m-a-styles.de>2015-06-09 14:27:13 +0200
commit072f4c926072ba4c7a64749e6a2a8118048ed83e (patch)
tree2dab1eb766b4996dd646dd1e333c74faa8fbf6cc /phpBB/includes/mcp/mcp_main.php
parent12142108645f550fa376da1aa2d3223a4f9b5dca (diff)
parent3ac95f48f8f087b05da6cb065817fad41242730e (diff)
downloadforums-072f4c926072ba4c7a64749e6a2a8118048ed83e.tar
forums-072f4c926072ba4c7a64749e6a2a8118048ed83e.tar.gz
forums-072f4c926072ba4c7a64749e6a2a8118048ed83e.tar.bz2
forums-072f4c926072ba4c7a64749e6a2a8118048ed83e.tar.xz
forums-072f4c926072ba4c7a64749e6a2a8118048ed83e.zip
Merge pull request #3479 from brunoais/ticket/13685
[ticket/13685] Allow modifying the query for mysql native fulltext search
Diffstat (limited to 'phpBB/includes/mcp/mcp_main.php')
-rw-r--r--phpBB/includes/mcp/mcp_main.php4
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)