mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-05 10:54:27 +02:00
- bugfix {include ... nocache} with variable file or compile_id attribute was not executed in nocache mode.
This commit is contained in:
@@ -1,6 +1,9 @@
|
|||||||
===== 3.1.22-dev ===== (xx.xx.2015)
|
===== 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
|
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
|
11.02.2015
|
||||||
- bugfix recursive {includes} did create E_NOTICE message when $smarty->merge_compiled_includes = true; (github issue #16)
|
- bugfix recursive {includes} did create E_NOTICE message when $smarty->merge_compiled_includes = true; (github issue #16)
|
||||||
|
@@ -136,7 +136,7 @@ class Smarty_Internal_Compile_Include extends Smarty_Internal_CompileBase
|
|||||||
* a call in nocache mode.
|
* a call in nocache mode.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
if ($_attr['caching']) {
|
if ($_attr['nocache'] !== true && $_attr['caching']) {
|
||||||
$_caching = $_new_caching = (int) $_attr['caching'];
|
$_caching = $_new_caching = (int) $_attr['caching'];
|
||||||
$call_nocache = true;
|
$call_nocache = true;
|
||||||
} else {
|
} else {
|
||||||
|
Reference in New Issue
Block a user