diff options
author | Paul S. Owen <psotfx@users.sourceforge.net> | 2003-04-21 16:21:27 +0000 |
---|---|---|
committer | Paul S. Owen <psotfx@users.sourceforge.net> | 2003-04-21 16:21:27 +0000 |
commit | 2f739ed4e7d22ccd131bb7992536d72f27ac1a00 (patch) | |
tree | e97769a955e4368e553dd762962fbce7989d67f6 | |
parent | 11a43c2e48fad8ad43f44e0a8b12f3b21fe00e98 (diff) | |
download | forums-2f739ed4e7d22ccd131bb7992536d72f27ac1a00.tar forums-2f739ed4e7d22ccd131bb7992536d72f27ac1a00.tar.gz forums-2f739ed4e7d22ccd131bb7992536d72f27ac1a00.tar.bz2 forums-2f739ed4e7d22ccd131bb7992536d72f27ac1a00.tar.xz forums-2f739ed4e7d22ccd131bb7992536d72f27ac1a00.zip |
Fixed display of hidden online users when u_viewonline is set true
git-svn-id: file:///svn/phpbb/trunk@3906 89ea8834-ac86-4346-8a33-228a782c2dd0
-rw-r--r-- | phpBB/includes/page_header.php | 2 |
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&mode=viewprofile&u=" . $row['user_id'] . '">' . $user_online_link . '</a>'; $online_userlist .= ($online_userlist != '') ? ', ' . $user_online_link : $user_online_link; |