mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-18 06:21:19 +02:00
adjusting sql_freeresult a bit as well as our error handler (it now prints out if it is because of DEBUG_EXTRA being defined - which is not enabled within the betas/rc's and stable releases).
git-svn-id: file:///svn/phpbb/trunk@5699 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -90,7 +90,7 @@ if (!$show_guests)
|
||||
WHERE session_user_id = ' . ANONYMOUS . '
|
||||
AND session_time >= ' . (time() - ($config['load_online_time'] * 60));
|
||||
$result = $db->sql_query($sql);
|
||||
$guest_counter = (int) $db->sql_fetchfield('num_guests', 0, $result);
|
||||
$guest_counter = (int) $db->sql_fetchfield('num_guests');
|
||||
$db->sql_freeresult($result);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user