diff options
author | Paul S. Owen <psotfx@users.sourceforge.net> | 2003-01-29 14:30:15 +0000 |
---|---|---|
committer | Paul S. Owen <psotfx@users.sourceforge.net> | 2003-01-29 14:30:15 +0000 |
commit | 4d761a22d8d3aad9aeb2a5c3f997da25eb79e688 (patch) | |
tree | ac0ab69433415fefdc38417709bb412ebc528b22 /phpBB/viewonline.php | |
parent | Check for display set when outputting icons (diff) | |
download | phpbb-4d761a22d8d3aad9aeb2a5c3f997da25eb79e688.tar.gz phpbb-4d761a22d8d3aad9aeb2a5c3f997da25eb79e688.tar.bz2 phpbb-4d761a22d8d3aad9aeb2a5c3f997da25eb79e688.zip |
Incorrect acl parameters
git-svn-id: file:///svn/phpbb/trunk@3397 89ea8834-ac86-4346-8a33-228a782c2dd0
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]) |