aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/acp/acp_search.php
diff options
context:
space:
mode:
authorbrunoais <brunoaiss@gmail.com>2015-03-11 17:46:42 +0000
committerbrunoais <brunoaiss@gmail.com>2015-06-07 18:40:44 +0100
commit1e45a05000687994137adb7e415a9a39f9afd371 (patch)
tree104f9fa84ed16487823e3139ff57438aa9b75d40 /phpBB/includes/acp/acp_search.php
parent049f584111b5d7ce307d57d36b3be8a34d06194b (diff)
downloadforums-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/acp/acp_search.php')
-rw-r--r--phpBB/includes/acp/acp_search.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/acp/acp_search.php b/phpBB/includes/acp/acp_search.php
index 9ff999567a..abb8301507 100644
--- a/phpBB/includes/acp/acp_search.php
+++ b/phpBB/includes/acp/acp_search.php
@@ -598,7 +598,7 @@ class acp_search
*/
function init_search($type, &$search, &$error)
{
- global $phpbb_root_path, $phpEx, $user, $auth, $config, $db;
+ global $phpbb_root_path, $phpEx, $user, $auth, $config, $db, $phpbb_dispatcher;
if (!class_exists($type) || !method_exists($type, 'keyword_search'))
{
@@ -607,7 +607,7 @@ class acp_search
}
$error = false;
- $search = new $type($error, $phpbb_root_path, $phpEx, $auth, $config, $db, $user);
+ $search = new $type($error, $phpbb_root_path, $phpEx, $auth, $config, $db, $user, $phpbb_dispatcher);
return $error;
}