From 5080ecd2f4c2711b228127e1c12647906d37f3bd Mon Sep 17 00:00:00 2001 From: Max Kanat-Alexander Date: Sun, 28 Feb 2010 16:07:51 -0800 Subject: Bug 547466: Release Notes for Bugzilla 3.6rc1 r=LpSolit, r=gerv --- Bugzilla/Template.pm | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'Bugzilla/Template.pm') diff --git a/Bugzilla/Template.pm b/Bugzilla/Template.pm index b623bd6d5..44282e4bc 100644 --- a/Bugzilla/Template.pm +++ b/Bugzilla/Template.pm @@ -770,8 +770,13 @@ sub create { \&Bugzilla::Install::Requirements::REQUIRED_MODULES, OPTIONAL_MODULES => sub { my @optional = @{OPTIONAL_MODULES()}; - @optional = sort {$a->{feature} cmp $b->{feature}} - @optional; + foreach my $item (@optional) { + my @features; + foreach my $feat_id (@{ $item->{feature} }) { + push(@features, install_string("feature_$feat_id")); + } + $item->{feature} = \@features; + } return \@optional; }, }, -- cgit v1.2.3-24-g4f1b