summaryrefslogtreecommitdiffstats
path: root/Bugzilla.pm
diff options
context:
space:
mode:
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') {