diff options
Diffstat (limited to 'phpBB')
-rw-r--r-- | phpBB/includes/auth.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/auth.php b/phpBB/includes/auth.php index 5744dfbbe8..85c4426b03 100644 --- a/phpBB/includes/auth.php +++ b/phpBB/includes/auth.php @@ -200,7 +200,7 @@ function auth($type, $forum_id, $userdata, $f_access = -1) } } - $is_admin = ($userdata['user_level'] == ADMIN) ? TRUE : FALSE; + $is_admin = ($userdata['user_level'] == ADMIN && $userdata['session_logged_in']) ? TRUE : FALSE; $auth_user = array(); @@ -368,4 +368,4 @@ function auth_check_user($type, $key, $u_access, $is_admin) return $auth_user; } -?> +?>
\ No newline at end of file |