aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/auth.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2006-05-17 16:26:54 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2006-05-17 16:26:54 +0000
commit7ba89a0b2d333467c897dbde29a21cf106c845dd (patch)
treeb7e3c3396fb85ee57e68e14f124b5036aed39a13 /phpBB/includes/auth.php
parent6a1591f2be15dd6c5e8dae036bd77e7a86b50ae2 (diff)
downloadforums-7ba89a0b2d333467c897dbde29a21cf106c845dd.tar
forums-7ba89a0b2d333467c897dbde29a21cf106c845dd.tar.gz
forums-7ba89a0b2d333467c897dbde29a21cf106c845dd.tar.bz2
forums-7ba89a0b2d333467c897dbde29a21cf106c845dd.tar.xz
forums-7ba89a0b2d333467c897dbde29a21cf106c845dd.zip
fixing bug #1860
git-svn-id: file:///svn/phpbb/trunk@5920 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/auth.php')
-rw-r--r--phpBB/includes/auth.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/phpBB/includes/auth.php b/phpBB/includes/auth.php
index 1dfd506bf8..f5e7610786 100644
--- a/phpBB/includes/auth.php
+++ b/phpBB/includes/auth.php
@@ -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'])