mirror of
https://github.com/smarty-php/smarty.git
synced 2026-05-03 19:30:49 +02:00
- bugfix has_nocache_code flag was not reset before compilation
This commit is contained in:
@@ -139,6 +139,8 @@ abstract class Smarty_Internal_TemplateCompilerBase {
|
||||
$this->tag_nocache = false;
|
||||
// save template object in compiler class
|
||||
$this->template = $template;
|
||||
// reset has noche code flag
|
||||
$this->template->has_nocache_code = false;
|
||||
$this->smarty->_current_file = $saved_filepath = $this->template->source->filepath;
|
||||
// template header code
|
||||
$template_header = '';
|
||||
|
||||
Reference in New Issue
Block a user