summaryrefslogtreecommitdiffstats
path: root/Bugzilla
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@gmail.com>2013-12-19 18:32:00 +0100
committerFrédéric Buclin <LpSolit@gmail.com>2013-12-19 18:32:00 +0100
commit9e4f74655ed3ddad46019932d4b0c036af8367da (patch)
treed439ead4d5e4853063f313bccd82d74d8891d0cf /Bugzilla
parenta11f4823342225b2dbe8b931b90d8d14ba80a236 (diff)
downloadbugzilla-9e4f74655ed3ddad46019932d4b0c036af8367da.tar.gz
bugzilla-9e4f74655ed3ddad46019932d4b0c036af8367da.tar.xz
Bug 950491: When viewing a dependency graph, an "uninitialized value" warning is thrown
r/a=sgreen
Diffstat (limited to 'Bugzilla')
-rw-r--r--Bugzilla/Util.pm2
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);