mirror of
https://github.com/smarty-php/smarty.git
synced 2026-05-04 11:44:16 +02:00
- bugfix {include ... nocache} with variable file or compile_id attribute was not executed in nocache mode.
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user