mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-05 10:54:27 +02:00
- bugfix for change of 08/09/2010 (final {block} tags in subtemplates did not produce correct results)
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
12/09/2010
|
||||
- bugfix for change of 08/09/2010 (final {block} tags in subtemplates did not produce correct results)
|
||||
|
||||
10/09/2010
|
||||
- bugfix for change of 08/09/2010 (final {block} tags in subtemplates did not produce correct results)
|
||||
|
||||
|
@@ -37,7 +37,7 @@ class Smarty_Internal_Compile_Include extends Smarty_Internal_CompileBase {
|
||||
$tmp = null;
|
||||
eval("\$tmp = $include_file;");
|
||||
if ($this->compiler->template->template_resource != $tmp) {
|
||||
$tpl = $compiler->smarty->createTemplate ($tmp, $compiler->template->cache_id, $compiler->template->compile_id, $compiler->template);
|
||||
$tpl = new $compiler->smarty->template_class ($tmp, $compiler->smarty, $compiler->template, $compiler->template->cache_id, $compiler->template->compile_id);
|
||||
if ($this->compiler->template->caching) {
|
||||
// needs code for cached page but no cache file
|
||||
$tpl->caching = 9999;
|
||||
|
Reference in New Issue
Block a user