- bugfix {insert} not works when caching is enabled and included template is present

https://github.com/smarty-php/smarty/issues/496
This commit is contained in:
uwetews
2018-10-11 06:56:22 +02:00
parent 7f531f6a44
commit c930f0e207
3 changed files with 6 additions and 1 deletions

View File

@@ -1,4 +1,8 @@
===== 3.1.34-dev-2 ===== ===== 3.1.34-dev-2 =====
11.10.2018
- bugfix {insert} not works when caching is enabled and included template is present
https://github.com/smarty-php/smarty/issues/496
09.10.2018 09.10.2018
- bugfix fix of 26.8.2017 https://github.com/smarty-php/smarty/issues/327 - bugfix fix of 26.8.2017 https://github.com/smarty-php/smarty/issues/327
modifier is applied to sum expression https://github.com/smarty-php/smarty/issues/491 modifier is applied to sum expression https://github.com/smarty-php/smarty/issues/491

View File

@@ -112,7 +112,7 @@ class Smarty extends Smarty_Internal_TemplateBase
/** /**
* smarty version * smarty version
*/ */
const SMARTY_VERSION = '3.1.34-dev-2'; const SMARTY_VERSION = '3.1.34-dev-3';
/** /**
* define variable scopes * define variable scopes
*/ */

View File

@@ -151,6 +151,7 @@ class Smarty_Internal_Compile_Insert extends Smarty_Internal_CompileBase
$_output .= "echo {$_function}({$_params},\$_smarty_tpl);?>"; $_output .= "echo {$_function}({$_params},\$_smarty_tpl);?>";
} }
} }
$compiler->template->compiled->has_nocache_code = true;
return $_output; return $_output;
} }
} }