mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-05 10:54:27 +02:00
- bugfix {nocache}{block}{plugin}... did produce wrong compiled code when caching is disabled (Forum Topic 21572, issue 95)
This commit is contained in:
@@ -1,4 +1,7 @@
|
|||||||
===== trunk =====
|
===== trunk =====
|
||||||
|
02.05.2012
|
||||||
|
- bugfix {nocache}{block}{plugin}... did produce wrong compiled code when caching is disabled (Forum Topic 21572, issue 95)
|
||||||
|
|
||||||
12.04.2012
|
12.04.2012
|
||||||
- bugfix Smarty did eat the linebreak after the <?xml...?> closing tag (Issue 93)
|
- bugfix Smarty did eat the linebreak after the <?xml...?> closing tag (Issue 93)
|
||||||
- bugfix concurrent cache updates could create a warning (Forum Topic 21403)
|
- bugfix concurrent cache updates could create a warning (Forum Topic 21403)
|
||||||
|
@@ -199,7 +199,7 @@ class Smarty_Internal_Compile_Block extends Smarty_Internal_CompileBase {
|
|||||||
$compiler->template->has_nocache_code = true;
|
$compiler->template->has_nocache_code = true;
|
||||||
}
|
}
|
||||||
foreach($_tpl->required_plugins as $key => $tmp1) {
|
foreach($_tpl->required_plugins as $key => $tmp1) {
|
||||||
if ($compiler->nocache) {
|
if ($compiler->nocache && $compiler->template->caching) {
|
||||||
$code = 'nocache';
|
$code = 'nocache';
|
||||||
} else {
|
} else {
|
||||||
$code = $key;
|
$code = $key;
|
||||||
|
Reference in New Issue
Block a user