From 5ab19a8c7fba4fd2d926674af2f379ae2a237e86 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Sat, 29 Mar 2008 04:51:07 +0000 Subject: =?UTF-8?q?Bug=20425746:=20Bugzilla::Template::precompile=5Ftempla?= =?UTF-8?q?tes()=20doesn't=20flush=20template=5Finclude=5Fpath=5F=20correc?= =?UTF-8?q?tly=20-=20Patch=20by=20Fr=C3=83=C2=A9d=C3=83=C2=A9ric=20Buclin?= =?UTF-8?q?=20=20r/a=3Dmkanat?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Bugzilla/Template.pm | 3 +++ 1 file changed, 3 insertions(+) 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.1