From: lpsolit%gmail.com <> Date: Sat, 29 Mar 2008 04:54:14 +0000 (+0000) Subject: Bug 425746: Bugzilla::Template::precompile_templates() doesn't flush template_include... X-Git-Tag: bugzilla-3.0.4~20 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=acd4dd5e3a5a7ba8e554158a8e5829b893f51404;p=thirdparty%2Fbugzilla.git Bug 425746: Bugzilla::Template::precompile_templates() doesn't flush template_include_path_ correctly - Patch by Frédéric Buclin r/a=mkanat --- 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