diff options
| author | Dhruv <dhruv.goel92@gmail.com> | 2012-08-08 11:07:47 +0530 |
|---|---|---|
| committer | Dhruv <dhruv.goel92@gmail.com> | 2012-08-08 11:07:47 +0530 |
| commit | 794d6ec443bd16ad2f7776d1ba2abcf2ce1c5553 (patch) | |
| tree | cd7b1d7da40d1719072b390d2c39cd259354dcaa /phpBB/search.php | |
| parent | 9eb6c2ba5b6fb1c1090f5a89387a8fa8ae958a85 (diff) | |
| download | forums-794d6ec443bd16ad2f7776d1ba2abcf2ce1c5553.tar forums-794d6ec443bd16ad2f7776d1ba2abcf2ce1c5553.tar.gz forums-794d6ec443bd16ad2f7776d1ba2abcf2ce1c5553.tar.bz2 forums-794d6ec443bd16ad2f7776d1ba2abcf2ce1c5553.tar.xz forums-794d6ec443bd16ad2f7776d1ba2abcf2ce1c5553.zip | |
[ticket/11011] pass $auth to search backend constructor
$auth global var is passed to search backend constructor, as it is used
by sphinx backend.
PHPBB3-11011
Diffstat (limited to 'phpBB/search.php')
| -rw-r--r-- | phpBB/search.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/search.php b/phpBB/search.php index 68946e2a95..190da5247f 100644 --- a/phpBB/search.php +++ b/phpBB/search.php @@ -280,7 +280,7 @@ if ($keywords || $author || $author_id || $search_id || $submit) } // We do some additional checks in the module to ensure it can actually be utilised $error = false; - $search = new $search_type($error, $phpbb_root_path, $phpEx, $config, $db, $user); + $search = new $search_type($error, $phpbb_root_path, $phpEx, $auth, $config, $db, $user); if ($error) { |
