Oops, why do I always screw up in the first checkin?

git-svn-id: file:///svn/phpbb/trunk@1955 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Bart van Bragt 2002-01-25 22:16:08 +00:00
parent deacb5ae87
commit dbf6ea217b

View file

@ -161,6 +161,10 @@ while( $row = $db->sql_fetchrow($result) )
$prev_user_id = $row['user_id']; $prev_user_id = $row['user_id'];
} }
$online_userlist = $lang['Registered_users'] . " " . $online_userlist;
$total_online_users = $logged_visible_online + $logged_hidden_online + $guests_online;
// //
// This block of INSERTs is only here for people that are running RC1 or RC2 of phpBB2. // This block of INSERTs is only here for people that are running RC1 or RC2 of phpBB2.
// Can be removed after most of those users have migrated to a version that has inserted // Can be removed after most of those users have migrated to a version that has inserted
@ -203,10 +207,6 @@ else if($total_online_users > $board_config['record_online_users'])
$board_config['record_online_date'] = time(); $board_config['record_online_date'] = time();
} }
$online_userlist = $lang['Registered_users'] . " " . $online_userlist;
$total_online_users = $logged_visible_online + $logged_hidden_online + $guests_online;
if( $total_online_users == 0 ) if( $total_online_users == 0 )
{ {
$l_t_user_s = $lang['Online_users_zero_total']; $l_t_user_s = $lang['Online_users_zero_total'];