From acd4dd5e3a5a7ba8e554158a8e5829b893f51404 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Sat, 29 Mar 2008 04:54:14 +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 a29557d4f3..53e23c5c35 100644 --- a/Bugzilla/Template.pm +++ b/Bugzilla/Template.pm @@ -922,6 +922,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_}; } # Helper for precompile_templates -- 2.47.2