Skip to content

Commit

Permalink
- bugfix multiple {include} with relative filepath within {block}{/bl…
Browse files Browse the repository at this point in the history
…ock} could fail #246 (reverted from commit 09d8eab) (reverted from commit 3fdd9e4)
  • Loading branch information
uwetews committed Jul 18, 2016
1 parent e865374 commit afb971f
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions libs/sysplugins/smarty_internal_template.php
Original file line number Diff line number Diff line change
Expand Up @@ -262,9 +262,6 @@ public function _subTemplateRender($template, $cache_id, $compile_id, $caching,
$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);
Expand Down

0 comments on commit afb971f

Please sign in to comment.