1
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-01-16 21:58:21 +01:00

fix(cache): bug in prior refactor (#3520)

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 ?? []
);
if ($content) {
$cache->setScope('pages');
$cache->setKey([$url]);
$cache->saveData($content);
}
}