From: lpsolit%gmail.com <> Date: Sat, 29 Mar 2008 04:51:07 +0000 (+0000) Subject: Bug 425746: Bugzilla::Template::precompile_templates() doesn't flush template_include... X-Git-Tag: bugzilla-3.1.3~258 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5ab19a8c7fba4fd2d926674af2f379ae2a237e86;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 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; }