mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-04 10:24:26 +02:00
- bugfix multiple {include} with relative filepath within {block}{/block} could fail https://github.com/smarty-php/smarty/issues/246 (reverted from commit 09d8eab89f
) (reverted from commit 3fdd9e4b89
)
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user