diff options
Diffstat (limited to 'phpBB/viewonline.php')
-rw-r--r-- | phpBB/viewonline.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/viewonline.php b/phpBB/viewonline.php index 887cd2c524..63bd6d43f6 100644 --- a/phpBB/viewonline.php +++ b/phpBB/viewonline.php @@ -78,7 +78,7 @@ while ($row = $db->sql_fetchrow($result)) if (!$row['user_allow_viewonline']) { - $view_online = ($auth->acl_get('f_viewonline', 'a_')) ? true : false; + $view_online = ($auth->acl_gets('u_viewonline', 'a_')) ? true : false; $hidden_users++; $username = '<i>' . $username . '</i>'; @@ -126,7 +126,7 @@ while ($row = $db->sql_fetchrow($result)) preg_match('/f=([0-9]+)/', $row['session_page'], $forum_id); $forum_id = $forum_id[1]; - if ($auth->acl_gets('f_list', 'f_viewonline', 'a_', $forum_id)) + if ($auth->acl_gets('f_list', 'a_', $forum_id)) { $location = ''; switch ($on_page[1]) |