From 5ab19a8c7fba4fd2d926674af2f379ae2a237e86 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Sat, 29 Mar 2008 04:51:07 +0000 Subject: Bug 425746: Bugzilla::Template::precompile_templates() doesn't flush template_include_path_ correctly - Patch by Frédéric Buclin r/a=mkanat MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Bugzilla/Template.pm | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Bugzilla') 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; } -- cgit v1.2.3-24-g4f1b