mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-04 18:34:27 +02:00
- bugfix if fetch('foo.tpl') is called on a template object the $parent parameter should default to the calling template object https://github.com/smarty-php/smarty/issues/152
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
===== 3.1.30-dev ===== (xx.xx.xx)
|
===== 3.1.30-dev ===== (xx.xx.xx)
|
||||||
28.01.2016
|
28.01.2016
|
||||||
- bugfix allow windows network filepath or wrapper (forum topic 25876) https://github.com/smarty-php/smarty/issues/170
|
- bugfix allow windows network filepath or wrapper (forum topic 25876) https://github.com/smarty-php/smarty/issues/170
|
||||||
|
- bugfix if fetch('foo.tpl') is called on a template object the $parent parameter should default to the calling template object https://github.com/smarty-php/smarty/issues/152
|
||||||
|
|
||||||
27.01.2016
|
27.01.2016
|
||||||
- revert bugfix compiling {section} did create warning
|
- revert bugfix compiling {section} did create warning
|
||||||
|
@@ -164,7 +164,7 @@ abstract class Smarty_Internal_TemplateBase extends Smarty_Internal_Data
|
|||||||
} else {
|
} else {
|
||||||
// get template object
|
// get template object
|
||||||
/* @var Smarty_Internal_Template $template */
|
/* @var Smarty_Internal_Template $template */
|
||||||
$template = $smarty->createTemplate($template, $cache_id, $compile_id, $parent, false);
|
$template = $smarty->createTemplate($template, $cache_id, $compile_id, $parent ? $parent : $this, false);
|
||||||
if ($this->_objType == 1) {
|
if ($this->_objType == 1) {
|
||||||
// set caching in template object
|
// set caching in template object
|
||||||
$template->caching = $this->caching;
|
$template->caching = $this->caching;
|
||||||
|
Reference in New Issue
Block a user