diff options
| author | Meik Sievertsen <acydburn@phpbb.com> | 2005-12-18 19:14:26 +0000 |
|---|---|---|
| committer | Meik Sievertsen <acydburn@phpbb.com> | 2005-12-18 19:14:26 +0000 |
| commit | 42509c6c5953c709b13279c272e7c35efe57d2a9 (patch) | |
| tree | 8c041a9da61735290b36b4abb18e571f636bf5bb | |
| parent | 46a8ebfe478f94048cd3a8873d6e6de8e236699a (diff) | |
| download | forums-42509c6c5953c709b13279c272e7c35efe57d2a9.tar forums-42509c6c5953c709b13279c272e7c35efe57d2a9.tar.gz forums-42509c6c5953c709b13279c272e7c35efe57d2a9.tar.bz2 forums-42509c6c5953c709b13279c272e7c35efe57d2a9.tar.xz forums-42509c6c5953c709b13279c272e7c35efe57d2a9.zip | |
poster_id does not exist (anonymous should be not present too)
git-svn-id: file:///svn/phpbb/trunk@5354 89ea8834-ac86-4346-8a33-228a782c2dd0
| -rw-r--r-- | phpBB/memberlist.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/memberlist.php b/phpBB/memberlist.php index 70028846ce..c017fe2e02 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' => ($poster_id == ANONYMOUS) ? '' : (($online) ? $user->img('btn_online', 'ONLINE') : $user->img('btn_offline', 'OFFLINE')), + 'ONLINE_IMG' => ($user_id == ANONYMOUS) ? '' : (($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'] . '&img=5" width="18" height="18" border="0" />' : '', @@ -1236,7 +1236,7 @@ function show_profile($data) 'L_VIEWING_PROFILE' => sprintf($user->lang['VIEWING_PROFILE'], $username), - 'S_ONLINE' => (intval($data['session_time']) >= time() - ($config['load_online_time'] * 60)) ? true : false + 'S_ONLINE' => ($online) ? true : false ); } |
