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