1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 15:15:56 +00:00

Fix a warning in 'classes/counters.php'.

This commit is contained in:
wn_
2021-11-12 05:04:55 +00:00
parent f0ad5881c0
commit b0eb347839

View File

@@ -273,6 +273,10 @@ class Counters {
if (is_array($feeds)) {
foreach ($feeds as $feed) {
if (!method_exists($feed['sender'], 'get_unread')) {
continue;
}
$cv = [
"id" => PluginHost::pfeed_to_feed_id($feed['id']),
"counter" => $feed['sender']->get_unread($feed['id'])