diff --git a/libs/sysplugins/smarty_internal_compile_section.php b/libs/sysplugins/smarty_internal_compile_section.php index c2ec19fa..47c4778c 100644 --- a/libs/sysplugins/smarty_internal_compile_section.php +++ b/libs/sysplugins/smarty_internal_compile_section.php @@ -434,7 +434,8 @@ class Smarty_Internal_Compile_Section extends Smarty_Internal_CompileBase } $property = strtolower($property); $sectionVar = "'__section_{$name}'"; - return "(isset(\$_smarty_tpl->tpl_vars[{$sectionVar}]->value['{$property}']) ? \$_smarty_tpl->tpl_vars[{$sectionVar}]->value['{$property}'] : null)"; + //return "(isset(\$_smarty_tpl->tpl_vars[{$sectionVar}]->value['{$property}']) ? \$_smarty_tpl->tpl_vars[{$sectionVar}]->value['{$property}'] : null)"; + return "\$_smarty_tpl->tpl_vars[{$sectionVar}]->value['{$property}']"; } }