summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorByron Jones <glob@mozilla.com>2015-05-07 06:32:00 +0200
committerByron Jones <glob@mozilla.com>2015-05-07 06:32:00 +0200
commit7a75256f5daa3b81bea0c6d47b53d2409568d7fa (patch)
tree7c237b22bb156f19a399a1ba0511bc0bb78c7e9d
parent14bca7f1ffe4d3c979012ddbe5d06a082f915b7b (diff)
downloadbugzilla-7a75256f5daa3b81bea0c6d47b53d2409568d7fa.tar.gz
bugzilla-7a75256f5daa3b81bea0c6d47b53d2409568d7fa.tar.xz
Bug 1162016: The user settings under userprefs.cgi display in random order
r=dkl,a=glob
-rwxr-xr-xuserprefs.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/userprefs.cgi b/userprefs.cgi
index 1f5f625f7..71b274c01 100755
--- a/userprefs.cgi
+++ b/userprefs.cgi
@@ -135,7 +135,7 @@ sub DoSettings {
my $settings = $user->settings;
$vars->{'settings'} = $settings;
- my @setting_list = keys %$settings;
+ my @setting_list = sort keys %$settings;
$vars->{'setting_names'} = \@setting_list;
$vars->{'has_settings_enabled'} = 0;