aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2009-07-30 14:35:29 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2009-07-30 14:35:29 +0000
commit686f84a8fc63b867b722573716722b47213cc1de (patch)
tree7a4f27b4268bc71d8f8369b8805d804f0f09e3d6 /phpBB/includes
parent4616cdb066304031adef41ab56a132870ebaea89 (diff)
downloadforums-686f84a8fc63b867b722573716722b47213cc1de.tar
forums-686f84a8fc63b867b722573716722b47213cc1de.tar.gz
forums-686f84a8fc63b867b722573716722b47213cc1de.tar.bz2
forums-686f84a8fc63b867b722573716722b47213cc1de.tar.xz
forums-686f84a8fc63b867b722573716722b47213cc1de.zip
Fix Bug #48875 - we compare the bitlength, therefore we indeed do not need to re-cache if we think acl options got changed (which we did)
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9894 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes')
-rw-r--r--phpBB/includes/auth.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/auth.php b/phpBB/includes/auth.php
index 2a269c3c80..02819f9e78 100644
--- a/phpBB/includes/auth.php
+++ b/phpBB/includes/auth.php
@@ -64,9 +64,9 @@ class auth
$db->sql_freeresult($result);
$cache->put('_acl_options', $this->acl_options);
- $this->acl_cache($userdata);
}
- else if (!trim($userdata['user_permissions']))
+
+ if (!trim($userdata['user_permissions']))
{
$this->acl_cache($userdata);
}