aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--phpBB/includes/page_header.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/page_header.php b/phpBB/includes/page_header.php
index c37985ac78..2d2ced8c34 100644
--- a/phpBB/includes/page_header.php
+++ b/phpBB/includes/page_header.php
@@ -97,7 +97,7 @@ if (!empty($config['load_online']) && !empty($config['load_online_time']))
$logged_hidden_online++;
}
- if ($row['user_allow_viewonline'] || $auth->acl_get('a_'))
+ if ($row['user_allow_viewonline'] || $auth->acl_get('u_viewonline'))
{
$user_online_link = '<a href="' . "memberlist.$phpEx$SID&amp;mode=viewprofile&amp;u=" . $row['user_id'] . '">' . $user_online_link . '</a>';
$online_userlist .= ($online_userlist != '') ? ', ' . $user_online_link : $user_online_link;