aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2006-06-02 10:35:53 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2006-06-02 10:35:53 +0000
commit718f97325fce5215609ab718c8fa39b62de4d8d3 (patch)
tree74149d317123ea9fdd743486f1cfa98aef9c778b /phpBB/includes
parentb9355bc16dd1be3e967031f3ee947882d4018544 (diff)
downloadforums-718f97325fce5215609ab718c8fa39b62de4d8d3.tar
forums-718f97325fce5215609ab718c8fa39b62de4d8d3.tar.gz
forums-718f97325fce5215609ab718c8fa39b62de4d8d3.tar.bz2
forums-718f97325fce5215609ab718c8fa39b62de4d8d3.tar.xz
forums-718f97325fce5215609ab718c8fa39b62de4d8d3.zip
correctly re-init auth array on login/logout (bug #2055 is related to it)
git-svn-id: file:///svn/phpbb/trunk@6000 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes')
-rw-r--r--phpBB/includes/functions.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php
index c90975853a..8d3b0c19ce 100644
--- a/phpBB/includes/functions.php
+++ b/phpBB/includes/functions.php
@@ -2174,6 +2174,9 @@ function msg_handler($errno, $msg_text, $errfile, $errline)
$user->session_begin();
}
+ // We re-init the auth array to get correct results on login/logout
+ $auth->acl($user->data);
+
if (empty($user->lang))
{
$user->setup();