mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
Sort online userlist alphabetically
git-svn-id: file:///svn/phpbb/trunk@1570 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
c65f84691a
commit
35dc396395
1 changed files with 2 additions and 2 deletions
|
@ -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");
|
||||
|
||||
?>
|
||||
?>
|
||||
|
|
Loading…
Add table
Reference in a new issue