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 86d109350..c12e24e42 100644
--- a/Bugzilla.pm
+++ b/Bugzilla.pm
@@ -200,7 +200,7 @@ sub template {
if (Bugzilla->cgi->server_software eq 'Bugzilla::Quantum::CGI') {
return request_cache->{quantum_template} //= do {
my $template = request_cache->{template};
- my $c = request_cache->{mojo_controller};
+ my $c = $Bugzilla::C;
my $q_template = Bugzilla::Quantum::Template->new( controller => $c, template => $template );
$q_template->{_is_main} = 1;
$q_template;