diff --git a/DataStorage/Cache/FileCache.php b/DataStorage/Cache/FileCache.php index 67efe4ac1..cade7db92 100644 --- a/DataStorage/Cache/FileCache.php +++ b/DataStorage/Cache/FileCache.php @@ -284,7 +284,7 @@ class FileCache implements CacheInterface $created = Directory::created($path)->getTimestamp(); $now = time(); - if ($expire >= 0 && $created + $expire > $now) { + if ($expire >= 0 && $created + $expire < $now) { return null; }