summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Bugzilla/Template.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/Bugzilla/Template.pm b/Bugzilla/Template.pm
index e9b6c3b9c..b35491f78 100644
--- a/Bugzilla/Template.pm
+++ b/Bugzilla/Template.pm
@@ -826,6 +826,9 @@ sub precompile_templates {
# If anything created a Template object before now, clear it out.
delete Bugzilla->request_cache->{template};
+ # This is the single variable used to precompile templates,
+ # which needs to be cleared as well.
+ delete Bugzilla->request_cache->{template_include_path_};
print install_string('done') . "\n" if $output;
}