aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjocuri%softhome.net <>2004-12-05 22:18:59 +0000
committerjocuri%softhome.net <>2004-12-05 22:18:59 +0000
commit768b72850d3f3292506b1ddd1bc7ced794b32883 (patch)
treec216ecff43d16dd5edaa4d356fdb64abe28ca88d /globals.pl
parentPatch for bug 271964: tests 1 and 3 from the testing suite shouldn't fail whe... (diff)
downloadbugzilla-768b72850d3f3292506b1ddd1bc7ced794b32883.tar.gz
bugzilla-768b72850d3f3292506b1ddd1bc7ced794b32883.tar.bz2
bugzilla-768b72850d3f3292506b1ddd1bc7ced794b32883.zip
Patch for bug 271048: Remove confusion when sorting classifications by modifying GetSelectableClassifications in order to always return a sorted list; patch by Albert Ting <altlst@sonic.net>, r=justdave, a=justdave.
Diffstat (limited to 'globals.pl')
-rw-r--r--globals.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/globals.pl b/globals.pl
index 829417e44..d1e751bb0 100644
--- a/globals.pl
+++ b/globals.pl
@@ -664,7 +664,7 @@ sub GetSelectableProductHash {
sub GetSelectableClassifications {
my @selectable_classes = ();
- foreach my $c (keys %::classdesc) {
+ foreach my $c (sort keys %::classdesc) {
if ( scalar(GetSelectableProducts(0,$c)) > 0) {
push(@selectable_classes,$c);
}