- bugfix {include ... nocache} with variable file or compile_id attribute was not executed in nocache mode.

This commit is contained in:
Uwe Tews
2015-03-10 18:06:05 +01:00
parent 8892f358ad
commit e9b1f296cb
2 changed files with 5 additions and 2 deletions

View File

@@ -1,6 +1,9 @@
 ===== 3.1.22-dev ===== (xx.xx.2015)
10.03.2015
- bugfix {include ... nocache} with variable file or compile_id attribute was not executed in nocache mode.
12.02.2015
- bugfix multiple Smarty::fetch() of same template when $smarty->merge_compiled_includes = true; could cause function alreday defined error
- bugfix multiple Smarty::fetch() of same template when $smarty->merge_compiled_includes = true; could cause function already defined error
11.02.2015
- bugfix recursive {includes} did create E_NOTICE message when $smarty->merge_compiled_includes = true; (github issue #16)

View File

@@ -136,7 +136,7 @@ class Smarty_Internal_Compile_Include extends Smarty_Internal_CompileBase
* a call in nocache mode.
*
*/
if ($_attr['caching']) {
if ($_attr['nocache'] !== true && $_attr['caching']) {
$_caching = $_new_caching = (int) $_attr['caching'];
$call_nocache = true;
} else {