1
0
Fork 0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-05-10 09:14:47 +03:00

fix(cache): bug in prior refactor ()

This commit is contained in:
Dag 2023-07-09 15:24:29 +02:00 committed by GitHub
parent dfe78fb379
commit c9a861e259
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -440,6 +440,8 @@ function getSimpleHTMLDOMCached(
$opts ?? [] $opts ?? []
); );
if ($content) { if ($content) {
$cache->setScope('pages');
$cache->setKey([$url]);
$cache->saveData($content); $cache->saveData($content);
} }
} }