diff --git a/libs/sysplugins/smarty_internal_runtime_inheritance.php b/libs/sysplugins/smarty_internal_runtime_inheritance.php index 3362182c..08a56060 100644 --- a/libs/sysplugins/smarty_internal_runtime_inheritance.php +++ b/libs/sysplugins/smarty_internal_runtime_inheritance.php @@ -215,7 +215,11 @@ class Smarty_Internal_Runtime_Inheritance $this->processBlock($tpl, 3, $name, null, $appendStack); } // call block of current stack level - $block[ 0 ]($tpl, $callStack); + if (isset($block[6])) { + $block[6]($tpl, $callStack); + } else { + $block[0]($tpl, $callStack); + } // {block prepend} ? if (isset($block[ 'prepend' ])) { $prependStack = $callStack;