[core] Fixed broken caching (#880)
This commit is contained in:
parent
cb488d9d8c
commit
a508dddb36
1 changed files with 1 additions and 1 deletions
|
@ -306,7 +306,7 @@ try {
|
||||||
$format = Format::create($format);
|
$format = Format::create($format);
|
||||||
$format->setItems($items);
|
$format->setItems($items);
|
||||||
$format->setExtraInfos($infos);
|
$format->setExtraInfos($infos);
|
||||||
$format->setLastModified($mtime);
|
$format->setLastModified($cache->getTime());
|
||||||
$format->display();
|
$format->display();
|
||||||
} catch(Error $e) {
|
} catch(Error $e) {
|
||||||
http_response_code($e->getCode());
|
http_response_code($e->getCode());
|
||||||
|
|
Loading…
Reference in a new issue