From a508dddb36a7deb6186503509be2d03f7ea7a2e0 Mon Sep 17 00:00:00 2001 From: Eugene Molotov Date: Mon, 22 Oct 2018 22:14:49 +0500 Subject: [PATCH] [core] Fixed broken caching (#880) --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.php b/index.php index 2cb0286d..037b8b09 100644 --- a/index.php +++ b/index.php @@ -306,7 +306,7 @@ try { $format = Format::create($format); $format->setItems($items); $format->setExtraInfos($infos); - $format->setLastModified($mtime); + $format->setLastModified($cache->getTime()); $format->display(); } catch(Error $e) { http_response_code($e->getCode());