diff options
author | plegall <plg@piwigo.org> | 2016-01-21 15:10:02 +0100 |
---|---|---|
committer | plegall <plg@piwigo.org> | 2016-01-21 15:10:02 +0100 |
commit | d33051cb7236a930c1baf879fee75e92c35a93ee (patch) | |
tree | 4f7c596268420cc670cbbf767d941fadb07a1b26 /include/smarty/libs/sysplugins/smarty_internal_compile_section.php | |
parent | 491464355911334ecbf49b742545286e82961112 (diff) |
update to Smarty 3.1.29
Diffstat (limited to 'include/smarty/libs/sysplugins/smarty_internal_compile_section.php')
-rw-r--r-- | include/smarty/libs/sysplugins/smarty_internal_compile_section.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/smarty/libs/sysplugins/smarty_internal_compile_section.php b/include/smarty/libs/sysplugins/smarty_internal_compile_section.php index 079903c2b..40b297a64 100644 --- a/include/smarty/libs/sysplugins/smarty_internal_compile_section.php +++ b/include/smarty/libs/sysplugins/smarty_internal_compile_section.php @@ -59,7 +59,7 @@ class Smarty_Internal_Compile_Section extends Smarty_Internal_Compile_Private_Fo * * @var array */ - public static $nameProperties = array('first', 'last', 'index', 'iteration', 'show', 'total', 'rownum', + public $nameProperties = array('first', 'last', 'index', 'iteration', 'show', 'total', 'rownum', 'index_prev', 'index_next'); /** @@ -103,7 +103,7 @@ class Smarty_Internal_Compile_Section extends Smarty_Internal_Compile_Private_Fo // maybe nocache because of nocache variables $compiler->nocache = $compiler->nocache | $compiler->tag_nocache; - $initLocal = array('saved' => "isset(\$_smarty_tpl->tpl_vars['__smarty_section_{$attributes['name']}']) ? \$_smarty_tpl->tpl_vars['__section_{$attributes['name']}'] : false",); + $initLocal = array('saved' => "isset(\$_smarty_tpl->tpl_vars['__smarty_section_{$attributes['name']}']) ? \$_smarty_tpl->tpl_vars['__smarty_section_{$attributes['name']}'] : false",); $initNamedProperty = array(); $initFor = array(); $incFor = array(); |