fix Render::isValid() should return true when times are equal

This commit is contained in:
klkvsk 2013-07-10 13:15:24 +04:00
parent c8d668f3cc
commit 7a39a854d7

View File

@ -137,7 +137,7 @@ class Render extends \ArrayObject {
*/
public function isValid() {
$provider = $this->_fenom->getProvider(strstr($this->_name, ":"), true);
if($provider->getLastModified($this->_name) >= $this->_time) {
if($provider->getLastModified($this->_name) !== $this->_time) {
return false;
}
foreach($this->_depends as $tpl => $time) {