diff --git a/lib/classes/cache/DbCache.php b/lib/classes/cache/DbCache.php index c7abef22a7465c423dcf4cf7b2de85e867ef37b2..5714ce998ce576fb2a353b93c341c0a7c7d212c9 100644 --- a/lib/classes/cache/DbCache.php +++ b/lib/classes/cache/DbCache.php @@ -137,7 +137,7 @@ class DbCache extends Cache return DBManager::get()->execute( 'REPLACE INTO `cache` VALUES (?, ?, ?)', - [$item->getKey(), serialize($item->get()), $expiration] + [$item->getKey(), serialize($item->get()), time() + $expiration] ); } }