summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xuserprefs.cgi3
1 files changed, 2 insertions, 1 deletions
diff --git a/userprefs.cgi b/userprefs.cgi
index 555b017a8..14746ada1 100755
--- a/userprefs.cgi
+++ b/userprefs.cgi
@@ -201,7 +201,8 @@ sub DoEmail {
my $watched_ref = $dbh->selectcol_arrayref(
"SELECT profiles.login_name FROM watch INNER JOIN profiles" .
" ON watch.watched = profiles.userid" .
- " WHERE watcher = ?",
+ " WHERE watcher = ?" .
+ " ORDER BY profiles.login_name",
undef, $user->id);
$vars->{'watchedusers'} = $watched_ref;