[core] Fixed broken caching (#880)

This commit is contained in:
Eugene Molotov 2018-10-22 22:14:49 +05:00 committed by LogMANOriginal
parent cb488d9d8c
commit a508dddb36

View file

@ -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());