diff --git a/system/cache/driver/file.php b/system/cache/driver/file.php index e68bfb50..f76522b5 100644 --- a/system/cache/driver/file.php +++ b/system/cache/driver/file.php @@ -43,7 +43,9 @@ public function get($key) if (time() >= substr($cache, 0, 10)) { - return $this->forget($key); + $this->forget($key); + + return null; } return $this->items[$key] = unserialize(substr($cache, 10));