aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/memberlist.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/memberlist.php')
-rw-r--r--phpBB/memberlist.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/memberlist.php b/phpBB/memberlist.php
index b646094050..26d9b89953 100644
--- a/phpBB/memberlist.php
+++ b/phpBB/memberlist.php
@@ -416,7 +416,7 @@ switch ($mode)
// a_user admins and founder are able to view inactive users and bots to be able to manage them more easily
// Normal users are able to see at least users having only changed their profile settings but not yet reactivated.
- if (!$auth->acl_get('a_user') && $user->data['user_type'] != phpbb::USER_FOUNDER)
+ if (!$auth->acl_get('a_user') && !phpbb::$user->is_founder)
{
if ($member['user_type'] == phpbb::USER_IGNORE)
{