mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 13:30:25 +02:00
fixing bug #1860
git-svn-id: file:///svn/phpbb/trunk@5920 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -29,7 +29,7 @@ class auth
|
||||
$this->acl = $this->cache = $this->acl_options = array();
|
||||
$this->acl_forum_ids = false;
|
||||
|
||||
if (!($this->acl_options = $cache->get('acl_options')))
|
||||
if (($this->acl_options = $cache->get('acl_options')) === false)
|
||||
{
|
||||
$sql = 'SELECT auth_option, is_global, is_local
|
||||
FROM ' . ACL_OPTIONS_TABLE . '
|
||||
@@ -37,6 +37,7 @@ class auth
|
||||
$result = $db->sql_query($sql);
|
||||
|
||||
$global = $local = 0;
|
||||
$this->acl_options = array();
|
||||
while ($row = $db->sql_fetchrow($result))
|
||||
{
|
||||
if ($row['is_global'])
|
||||
|
Reference in New Issue
Block a user