- 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
@@ -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 {