From fd8b5cfb037c5aa0a1da889b5e6fcb746d9a0de7 Mon Sep 17 00:00:00 2001 From: "bzrmirror%bugzilla.org" Date: Thu, 19 Dec 2013 17:45:41 +0000 Subject: [PATCH] Bug 950491: When viewing a dependency graph, an "uninitialized value" warning is thrown r/a=sgreen git-svn-id: svn://10.0.0.236/trunk@265149 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/webtools/bugzilla/.bzrrev | 2 +- mozilla/webtools/bugzilla/Bugzilla/Util.pm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mozilla/webtools/bugzilla/.bzrrev b/mozilla/webtools/bugzilla/.bzrrev index 386d3e270ea..f9c23b74f6a 100644 --- a/mozilla/webtools/bugzilla/.bzrrev +++ b/mozilla/webtools/bugzilla/.bzrrev @@ -1 +1 @@ -8834 \ No newline at end of file +8835 \ No newline at end of file diff --git a/mozilla/webtools/bugzilla/Bugzilla/Util.pm b/mozilla/webtools/bugzilla/Bugzilla/Util.pm index bda0e0c9039..4b84b8ce407 100644 --- a/mozilla/webtools/bugzilla/Bugzilla/Util.pm +++ b/mozilla/webtools/bugzilla/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);