mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-06 16:56:44 +02:00
Sort online userlist alphabetically
git-svn-id: file:///svn/phpbb/trunk@1570 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -94,7 +94,7 @@ $sql = "SELECT u.username, u.user_id, u.user_allow_viewonline, s.session_logged_
|
||||
WHERE u.user_id = s.session_user_id
|
||||
AND ( s.session_time >= ".( time() - 300 ) . "
|
||||
OR u.user_session_time >= " . ( time() - 300 ) . " )
|
||||
ORDER BY u.user_session_time DESC";
|
||||
ORDER BY u.username ASC";
|
||||
$result = $db->sql_query($sql);
|
||||
if(!$result)
|
||||
{
|
||||
@@ -379,4 +379,4 @@ header ("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
|
||||
|
||||
$template->pparse("overall_header");
|
||||
|
||||
?>
|
||||
?>
|
||||
|
Reference in New Issue
Block a user