summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Template.pm
diff options
context:
space:
mode:
authorMax Kanat-Alexander <mkanat@bugzilla.org>2010-03-01 01:07:51 +0100
committerMax Kanat-Alexander <mkanat@bugzilla.org>2010-03-01 01:07:51 +0100
commit5080ecd2f4c2711b228127e1c12647906d37f3bd (patch)
tree3d05ee98a07e8fae8bdb53165656ce2098457965 /Bugzilla/Template.pm
parentc46a6d342363c1d0bccb4a80a41222ae38e2f0a0 (diff)
downloadbugzilla-5080ecd2f4c2711b228127e1c12647906d37f3bd.tar.gz
bugzilla-5080ecd2f4c2711b228127e1c12647906d37f3bd.tar.xz
Bug 547466: Release Notes for Bugzilla 3.6rc1
r=LpSolit, r=gerv
Diffstat (limited to 'Bugzilla/Template.pm')
-rw-r--r--Bugzilla/Template.pm9
1 files changed, 7 insertions, 2 deletions
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;
},
},