From 2ebacc3b545e987bbe768bd0bed3594a4c71123e Mon Sep 17 00:00:00 2001 From: uwetews Date: Thu, 24 Dec 2015 05:52:41 +0100 Subject: [PATCH] - bugfix post filter did fail on template inheritance https://github.com/smarty-php/smarty/issues/144 --- change_log.txt | 3 ++- libs/sysplugins/smarty_internal_templatecompilerbase.php | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/change_log.txt b/change_log.txt index fd806f9e..f4bc48c0 100644 --- a/change_log.txt +++ b/change_log.txt @@ -1,7 +1,8 @@  ===== 3.1.30-dev ===== (xx.xx.xx) 24.12.2015 - new feature Compiler does now observe the template_dir setting and will create separate compiled files if required - + - bugfix post filter did fail on template inheritance https://github.com/smarty-php/smarty/issues/144 + 23.12.2015 - optimization move internal method decodeProperties back into template object - optimization move subtemplate processing back into template object diff --git a/libs/sysplugins/smarty_internal_templatecompilerbase.php b/libs/sysplugins/smarty_internal_templatecompilerbase.php index 35ca0a4e..69a23942 100644 --- a/libs/sysplugins/smarty_internal_templatecompilerbase.php +++ b/libs/sysplugins/smarty_internal_templatecompilerbase.php @@ -407,7 +407,6 @@ abstract class Smarty_Internal_TemplateCompilerBase $this->smarty->_debug->end_compile($this->template); } $this->parent_compiler = null; - $this->template = null; $this->parser = null; return $_compiled_code; }