aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--phpBB/includes/functions.php2
-rw-r--r--phpBB/memberlist.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php
index b5e6f5671a..8cf6efa657 100644
--- a/phpBB/includes/functions.php
+++ b/phpBB/includes/functions.php
@@ -1675,7 +1675,7 @@ function page_header($page_title = '')
$logged_hidden_online++;
}
- if ( ($row['user_allow_viewonline'] && $row['session_viewonline']) || $auth->acl_get('u_viewonline') )
+ if (($row['user_allow_viewonline'] && $row['session_viewonline']) || $auth->acl_get('u_viewonline'))
{
$user_online_link = ($row['user_type'] <> USER_IGNORE) ? "<a href=\"{$phpbb_root_path}memberlist.$phpEx$SID&amp;mode=viewprofile&amp;u=" . $row['user_id'] . '">' . $user_online_link . '</a>' : $user_online_link;
$online_userlist .= ($online_userlist != '') ? ', ' . $user_online_link : $user_online_link;
diff --git a/phpBB/memberlist.php b/phpBB/memberlist.php
index c017fe2e02..5d041f324f 100644
--- a/phpBB/memberlist.php
+++ b/phpBB/memberlist.php
@@ -1217,7 +1217,7 @@ function show_profile($data)
'POSTS' => ($data['user_posts']) ? $data['user_posts'] : 0,
'WARNINGS' => ($data['user_warnings']) ? $data['user_warnings'] : 0,
- 'ONLINE_IMG' => ($user_id == ANONYMOUS) ? '' : (($online) ? $user->img('btn_online', 'ONLINE') : $user->img('btn_offline', 'OFFLINE')),
+ 'ONLINE_IMG' => ($online) ? $user->img('btn_online', 'ONLINE') : $user->img('btn_offline', 'OFFLINE'),
'RANK_IMG' => $rank_img,
'ICQ_STATUS_IMG'=> (!empty($data['user_icq'])) ? '<img src="http://web.icq.com/whitepages/online?icq=' . $data['user_icq'] . '&amp;img=5" width="18" height="18" border="0" />' : '',