mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-13 20:14:10 +02:00
fix(CacheInterface): logic bug in getTime (#3491)
* fix(CacheInterface): logic bug in getTime * test
This commit is contained in:
@@ -95,7 +95,7 @@ class DisplayAction implements ActionInterface
|
||||
$mtime = $cache->getTime();
|
||||
|
||||
if (
|
||||
$mtime !== false
|
||||
$mtime
|
||||
&& (time() - $cache_timeout < $mtime)
|
||||
&& !Debug::isEnabled()
|
||||
) {
|
||||
|
Reference in New Issue
Block a user