diff options
author | Max Kanat-Alexander <mkanat@bugzilla.org> | 2010-03-01 01:07:51 +0100 |
---|---|---|
committer | Max Kanat-Alexander <mkanat@bugzilla.org> | 2010-03-01 01:07:51 +0100 |
commit | 5080ecd2f4c2711b228127e1c12647906d37f3bd (patch) | |
tree | 3d05ee98a07e8fae8bdb53165656ce2098457965 /Bugzilla/Template.pm | |
parent | c46a6d342363c1d0bccb4a80a41222ae38e2f0a0 (diff) | |
download | bugzilla-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.pm | 9 |
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; }, }, |