diff --git a/change_log.txt b/change_log.txt index ca25cf2d..ea1612a6 100644 --- a/change_log.txt +++ b/change_log.txt @@ -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 diff --git a/libs/sysplugins/smarty_internal_config.php b/libs/sysplugins/smarty_internal_config.php index 3141e793..d88d1c71 100644 --- a/libs/sysplugins/smarty_internal_config.php +++ b/libs/sysplugins/smarty_internal_config.php @@ -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; } /**