diff --git a/classes/counters.php b/classes/counters.php index 50d103a5c..c8bafa5ab 100644 --- a/classes/counters.php +++ b/classes/counters.php @@ -273,9 +273,8 @@ class Counters { if (is_array($feeds)) { foreach ($feeds as $feed) { - if (!method_exists($feed['sender'], 'get_unread')) { + if (!implements_interface($feed['sender'], 'IVirtualFeed')) continue; - } $cv = [ "id" => PluginHost::pfeed_to_feed_id($feed['id']),