diff --git a/webtools/bugzilla/Bugzilla.pm b/webtools/bugzilla/Bugzilla.pm index c4300b0b541..ef67643af78 100644 --- a/webtools/bugzilla/Bugzilla.pm +++ b/webtools/bugzilla/Bugzilla.pm @@ -146,6 +146,12 @@ sub template { return request_cache()->{template}; } +sub template_inner { + my $class = shift; + $class->request_cache->{template_inner} ||= Bugzilla::Template->create(); + return $class->request_cache->{template_inner}; +} + sub cgi { my $class = shift; request_cache()->{cgi} ||= new Bugzilla::CGI(); @@ -452,6 +458,11 @@ that. The current C