diff options
Diffstat (limited to 'Bugzilla/Template.pm')
-rw-r--r-- | Bugzilla/Template.pm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Bugzilla/Template.pm b/Bugzilla/Template.pm index 5c5453231..a60a453d6 100644 --- a/Bugzilla/Template.pm +++ b/Bugzilla/Template.pm @@ -864,6 +864,9 @@ sub precompile_templates { $template->context->template($file); } } + + # If anything created a Template object before now, clear it out. + delete Bugzilla->request_cache->{template}; } # Helper for precompile_templates |