diff options
Diffstat (limited to 'Bugzilla')
-rw-r--r-- | Bugzilla/Util.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/Util.pm b/Bugzilla/Util.pm index bda0e0c90..4b84b8ce4 100644 --- a/Bugzilla/Util.pm +++ b/Bugzilla/Util.pm @@ -750,7 +750,7 @@ sub template_var { my $name = shift; my $request_cache = Bugzilla->request_cache; my $cache = $request_cache->{util_template_var} ||= {}; - my $lang = $request_cache->{template_current_lang}->[0]; + my $lang = $request_cache->{template_current_lang}->[0] || ''; return $cache->{$lang}->{$name} if defined $cache->{$lang}; my $template = Bugzilla->template_inner($lang); |