summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Template/Plugin
diff options
context:
space:
mode:
Diffstat (limited to 'Bugzilla/Template/Plugin')
-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 c2e1626ef..6f744a8aa 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(Param('languages'));
+ my $languages = trim(Bugzilla->params->{'languages'});
if (not ($languages =~ /,/)) { # only one language
return $languages;
}