aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGervase Markham <gerv@gerv.net>2011-01-25 17:22:50 +0000
committerGervase Markham <gerv@mozilla.org>2011-01-25 17:22:50 +0000
commit00e1708f9a9162ebb02aaa5a19eb6dcfc8726df8 (patch)
tree9d5c86bd600a2d00c6e89291c6b7deac16bb4f5e /editparams.cgi
parentBug 619594: (CVE-2010-4568) [SECURITY] Improve the randomness of (diff)
downloadbugzilla-00e1708f9a9162ebb02aaa5a19eb6dcfc8726df8.tar.gz
bugzilla-00e1708f9a9162ebb02aaa5a19eb6dcfc8726df8.tar.bz2
bugzilla-00e1708f9a9162ebb02aaa5a19eb6dcfc8726df8.zip
Make param pages without a sortkey sort to the end. r=dkl, a=lpsolit.
https://bugzilla.mozilla.org/show_bug.cgi?id=621255
Diffstat (limited to 'editparams.cgi')
-rwxr-xr-xeditparams.cgi1
1 files changed, 1 insertions, 0 deletions
diff --git a/editparams.cgi b/editparams.cgi
index a8dc0daf9..6affd324c 100755
--- a/editparams.cgi
+++ b/editparams.cgi
@@ -67,6 +67,7 @@ foreach my $panel (keys %$param_panels) {
param_list => \@module_param_list,
sortkey => eval "\$${module}::sortkey;"
};
+ defined($item->{'sortkey'}) || ($item->{'sortkey'} = 100000);
push(@panels, $item);
$current_module = $panel if ($current_panel eq lc($panel));
}