mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-12 03:34:04 +02:00
[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
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user