aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDhruv <dhruv.goel92@gmail.com>2012-07-27 10:50:20 +0530
committerDhruv <dhruv.goel92@gmail.com>2012-07-27 11:10:12 +0530
commitfe8a0d3bc6767f43e7df0b6c964a7f19fa3a5ccc (patch)
treee7ff2dd9fdda803ed12d5ac2731ac091310be8fb
parentcec9f7d54e360bc2b6b4b12c3123d9c5216d2b62 (diff)
downloadforums-fe8a0d3bc6767f43e7df0b6c964a7f19fa3a5ccc.tar
forums-fe8a0d3bc6767f43e7df0b6c964a7f19fa3a5ccc.tar.gz
forums-fe8a0d3bc6767f43e7df0b6c964a7f19fa3a5ccc.tar.bz2
forums-fe8a0d3bc6767f43e7df0b6c964a7f19fa3a5ccc.tar.xz
forums-fe8a0d3bc6767f43e7df0b6c964a7f19fa3a5ccc.zip
[feature/sphinx-fulltext-search] fix auth bug
$this->auth replaces $auth as at other occurences of auth. PHPBB3-10946
-rw-r--r--phpBB/includes/search/fulltext_sphinx.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/search/fulltext_sphinx.php b/phpBB/includes/search/fulltext_sphinx.php
index 9cf6f41fa0..8371f6b377 100644
--- a/phpBB/includes/search/fulltext_sphinx.php
+++ b/phpBB/includes/search/fulltext_sphinx.php
@@ -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);