mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-05 19:04:27 +02:00
- bugfix $smarty->compile_check must be restored before rendering of a just updated cache file {forum 25452}
This commit is contained in:
@@ -1,4 +1,7 @@
|
|||||||
===== 3.1.22-dev ===== (xx.xx.2015)
|
===== 3.1.22-dev ===== (xx.xx.2015)
|
||||||
|
15.03.2015
|
||||||
|
- bugfix $smarty->compile_check must be restored before rendering of a just updated cache file {forum 25452}
|
||||||
|
|
||||||
14.03.2015
|
14.03.2015
|
||||||
- bugfix {nocache} {/nocache} tags corrupted code when used within a nocache section caused by a nocache template variable.
|
- bugfix {nocache} {/nocache} tags corrupted code when used within a nocache section caused by a nocache template variable.
|
||||||
|
|
||||||
|
@@ -258,8 +258,11 @@ class Smarty_Internal_Template extends Smarty_Internal_TemplateBase
|
|||||||
$this->cached->updateCache($this, $content, $no_output_filter);
|
$this->cached->updateCache($this, $content, $no_output_filter);
|
||||||
$compile_check = $this->smarty->compile_check;
|
$compile_check = $this->smarty->compile_check;
|
||||||
$this->smarty->compile_check = false;
|
$this->smarty->compile_check = false;
|
||||||
$content = $this->cached->render($this);
|
if (!$this->cached->processed) {
|
||||||
|
$this->cached->process($this);
|
||||||
|
}
|
||||||
$this->smarty->compile_check = $compile_check;
|
$this->smarty->compile_check = $compile_check;
|
||||||
|
$content = $this->getRenderedTemplateCode();
|
||||||
if ($this->smarty->debugging) {
|
if ($this->smarty->debugging) {
|
||||||
Smarty_Internal_Debug::end_cache($this);
|
Smarty_Internal_Debug::end_cache($this);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user