mirror of
https://github.com/fenom-template/fenom.git
synced 2023-08-10 21:13:07 +03:00
fix Render::isValid() should return true when times are equal
This commit is contained in:
parent
c8d668f3cc
commit
7a39a854d7
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user