aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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();