aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/viewonline.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/viewonline.php')
-rw-r--r--phpBB/viewonline.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/phpBB/viewonline.php b/phpBB/viewonline.php
index 60339ce8ad..569f5297f6 100644
--- a/phpBB/viewonline.php
+++ b/phpBB/viewonline.php
@@ -324,7 +324,8 @@ $pagination = generate_pagination(append_sid("{$phpbb_root_path}viewonline.$phpE
// Grab group details for legend display
$sql = 'SELECT group_id, group_name, group_colour, group_type
FROM ' . GROUPS_TABLE . '
- WHERE group_legend = 1';
+ WHERE group_legend = 1
+ ORDER BY group_name ASC';
$result = $db->sql_query($sql);
$legend = '';