From ea6f848e04ede815f74c90b98ed9a60722363e6e Mon Sep 17 00:00:00 2001 From: Uwe Tews Date: Thu, 6 Aug 2015 19:42:40 +0200 Subject: [PATCH] fix properties --- .../smarty_internal_templatecompilerbase.php | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/libs/sysplugins/smarty_internal_templatecompilerbase.php b/libs/sysplugins/smarty_internal_templatecompilerbase.php index 76c4e7e0..c461df53 100644 --- a/libs/sysplugins/smarty_internal_templatecompilerbase.php +++ b/libs/sysplugins/smarty_internal_templatecompilerbase.php @@ -30,7 +30,7 @@ abstract class Smarty_Internal_TemplateCompilerBase * * @var object */ - public $parser; + public $parser = null; /** * hash for nocache sections @@ -305,8 +305,20 @@ abstract class Smarty_Internal_TemplateCompilerBase */ public $_capture_stack = array(); + /** + * Saved source resource + * + * @var \Smarty_Template_Source + */ private $savedSource = null; + /** + * Stack for {setfilter} {/setfilter} + * + * @var array + */ + public $variable_filter_stack = array(); + /** * Strip preg pattern *