mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-10 21:38:54 +00:00
[feature/sphinx-fulltext-search] fix auth bug
$this->auth replaces $auth as at other occurences of auth. PHPBB3-10946
This commit is contained in:
parent
cec9f7d54e
commit
fe8a0d3bc6
1 changed files with 1 additions and 1 deletions
|
@ -477,7 +477,7 @@ class phpbb_search_fulltext_sphinx
|
|||
if (sizeof($ex_fid_ary))
|
||||
{
|
||||
// All forums that a user is allowed to access
|
||||
$fid_ary = array_unique(array_intersect(array_keys($this->auth->acl_getf('f_read', true)), array_keys($auth->acl_getf('f_search', true))));
|
||||
$fid_ary = array_unique(array_intersect(array_keys($this->auth->acl_getf('f_read', true)), array_keys($this->auth->acl_getf('f_search', true))));
|
||||
// All forums that the user wants to and can search in
|
||||
$search_forums = array_diff($fid_ary, $ex_fid_ary);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue