- bugfix has_nocache_code flag was not reset before compilation

This commit is contained in:
uwe.tews@googlemail.com
2011-10-04 18:58:17 +00:00
parent eb9714cf0e
commit 8bab7fe522
2 changed files with 3 additions and 0 deletions

View File

@@ -4,6 +4,7 @@
- bugfix of problem introduced with r4342 on math plugin - bugfix of problem introduced with r4342 on math plugin
- bugfix output filter should not run on individually cached subtemplates - bugfix output filter should not run on individually cached subtemplates
- add unloadFilter() method - add unloadFilter() method
- bugfix has_nocache_code flag was not reset before compilation
===== Smarty-3.1.2 ===== ===== Smarty-3.1.2 =====
03.10.2011 03.10.2011

View File

@@ -139,6 +139,8 @@ abstract class Smarty_Internal_TemplateCompilerBase {
$this->tag_nocache = false; $this->tag_nocache = false;
// save template object in compiler class // save template object in compiler class
$this->template = $template; $this->template = $template;
// reset has noche code flag
$this->template->has_nocache_code = false;
$this->smarty->_current_file = $saved_filepath = $this->template->source->filepath; $this->smarty->_current_file = $saved_filepath = $this->template->source->filepath;
// template header code // template header code
$template_header = ''; $template_header = '';