summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Template
diff options
context:
space:
mode:
authorwurblzap%gmail.com <>2007-08-22 03:47:51 +0200
committerwurblzap%gmail.com <>2007-08-22 03:47:51 +0200
commitc56f5e3c03177edf52172c8a164f66c354d0e147 (patch)
treecaef8b053a3031404d31d7c1d9dca2b202e44e70 /Bugzilla/Template
parent5a1fdacb12095b417382c15186e5aaaec7eed3a1 (diff)
downloadbugzilla-c56f5e3c03177edf52172c8a164f66c354d0e147.tar.gz
bugzilla-c56f5e3c03177edf52172c8a164f66c354d0e147.tar.xz
Bug 365378 – The 'languages' parameter is not necessary.
Patch by Marc Schumann <wurblzap@gmail.com>; r=LpSolit; a=LpSolit
Diffstat (limited to 'Bugzilla/Template')
-rw-r--r--Bugzilla/Template/Plugin/Hook.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/Template/Plugin/Hook.pm b/Bugzilla/Template/Plugin/Hook.pm
index b1f27990e..54ce02a67 100644
--- a/Bugzilla/Template/Plugin/Hook.pm
+++ b/Bugzilla/Template/Plugin/Hook.pm
@@ -107,7 +107,7 @@ sub process {
# get a list of languages we accept so we can find the hook
# that corresponds to our desired languages:
sub getLanguages() {
- my $languages = trim(Bugzilla->params->{'languages'});
+ my $languages = join(',', @{Bugzilla->languages});
if (not ($languages =~ /,/)) { # only one language
return $languages;
}