From 6bb0cb7c0cc0c4c35f7d88e35c53f4ea3ae6b88a Mon Sep 17 00:00:00 2001 From: "Uwe.Tews" Date: Fri, 30 Apr 2010 13:12:12 +0000 Subject: [PATCH] - bugfix when comparing timestamps in sysplugins/smarty_internal_config.php --- change_log.txt | 5 +++++ libs/sysplugins/smarty_internal_config.php | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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; } /**