From afb971f84bd0a615593c163643184062f649ff7b Mon Sep 17 00:00:00 2001 From: uwetews Date: Tue, 19 Jul 2016 00:25:49 +0200 Subject: [PATCH] - bugfix multiple {include} with relative filepath within {block}{/block} could fail https://github.com/smarty-php/smarty/issues/246 (reverted from commit 09d8eab89ff7faf40f28656b0d8b5bb50dd85f26) (reverted from commit 3fdd9e4b895db3c4a5dc1b220f2c80fad1f7e6b1) --- libs/sysplugins/smarty_internal_template.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/libs/sysplugins/smarty_internal_template.php b/libs/sysplugins/smarty_internal_template.php index dfb9ed3e..c4cfc75c 100644 --- a/libs/sysplugins/smarty_internal_template.php +++ b/libs/sysplugins/smarty_internal_template.php @@ -262,9 +262,6 @@ class Smarty_Internal_Template extends Smarty_Internal_TemplateBase $forceTplCache, $uid = null, $content_func = null) { $tpl = clone $this; - if (isset($this->inheritance)) { - unset($tpl->startRenderCallbacks[ 'inheritance' ], $tpl->endRenderCallbacks[ 'inheritance' ]); - } $tpl->parent = $this; $smarty = &$this->smarty; $_templateId = $smarty->_getTemplateId($template, $cache_id, $compile_id, $caching, $tpl);