summaryrefslogtreecommitdiffstats
path: root/Bugzilla.pm
diff options
context:
space:
mode:
authorDylan William Hardison <dylan@hardison.net>2018-05-21 20:34:59 +0200
committerDylan William Hardison <dylan@hardison.net>2018-06-28 22:41:57 +0200
commit09c70a582658841bc9dfa758a20bbf6fb95383a7 (patch)
tree03cb6534af1fc73bc83158f5a2878094271c0f16 /Bugzilla.pm
parent7f3e24134e85964e4e0177116364995ddf724601 (diff)
downloadbugzilla-09c70a582658841bc9dfa758a20bbf6fb95383a7.tar.gz
bugzilla-09c70a582658841bc9dfa758a20bbf6fb95383a7.tar.xz
fix logging and another bug
Diffstat (limited to 'Bugzilla.pm')
-rw-r--r--Bugzilla.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla.pm b/Bugzilla.pm
index fc17575b8..86d109350 100644
--- a/Bugzilla.pm
+++ b/Bugzilla.pm
@@ -194,7 +194,7 @@ sub init_page {
#####################################################################
sub template {
- request_cache->{template} // Bugzilla::Template->create();
+ request_cache->{template} //= Bugzilla::Template->create();
request_cache->{template}->{_is_main} = 1;
if (Bugzilla->cgi->server_software eq 'Bugzilla::Quantum::CGI') {