aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/memberlist.php
diff options
context:
space:
mode:
authorGraham Eames <grahamje@users.sourceforge.net>2005-12-18 19:58:58 +0000
committerGraham Eames <grahamje@users.sourceforge.net>2005-12-18 19:58:58 +0000
commit738bf09f92d6c268c71c8f38311c8af7d2659db1 (patch)
tree660d718991d22fb962700a54a2dcb3350fa4ab78 /phpBB/memberlist.php
parent42509c6c5953c709b13279c272e7c35efe57d2a9 (diff)
downloadforums-738bf09f92d6c268c71c8f38311c8af7d2659db1.tar
forums-738bf09f92d6c268c71c8f38311c8af7d2659db1.tar.gz
forums-738bf09f92d6c268c71c8f38311c8af7d2659db1.tar.bz2
forums-738bf09f92d6c268c71c8f38311c8af7d2659db1.tar.xz
forums-738bf09f92d6c268c71c8f38311c8af7d2659db1.zip
Third time around, it turns out that the code where I made that mistake initially is completely unneeded since you won't get to this point if the user is anonymous (or a bot) anyway
git-svn-id: file:///svn/phpbb/trunk@5355 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/memberlist.php')
-rw-r--r--phpBB/memberlist.php2
1 files changed, 1 insertions, 1 deletions
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" />' : '',