- bugfix when comparing timestamps in sysplugins/smarty_internal_config.php

This commit is contained in:
Uwe.Tews
2010-04-30 13:12:12 +00:00
parent d7a629df0c
commit 6bb0cb7c0c
2 changed files with 6 additions and 1 deletions

View File

@@ -1,3 +1,8 @@
30/04/2010
- bugfix when comparing timestamps in sysplugins/smarty_internal_config.php
===== RC1 =====
27/04/2010
- change default of $debugging_ctrl to 'NONE'
- optimization of compiled code of {foreach} and {for} loops

View File

@@ -172,7 +172,7 @@ class Smarty_Internal_Config {
public function mustCompile ()
{
return $this->mustCompile === null ?
$this->mustCompile = ($this->smarty->force_compile || $this->smarty->compile_check && $this->getCompiledTimestamp () !== $this->getTimestamp ()):
$this->mustCompile = ($this->smarty->force_compile || $this->smarty->compile_check && $this->getCompiledTimestamp () < $this->getTimestamp ()):
$this->mustCompile;
}
/**