]> git.wh0rd.org Git - tt-rss.git/commitdiff
vf_shared: fix warning
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Thu, 11 Jul 2013 10:23:46 +0000 (14:23 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Thu, 11 Jul 2013 10:23:46 +0000 (14:23 +0400)
plugins/vf_shared/init.php

index 00d288c055235999a8fe121f58a34422ddefecb6..c7eac96593ea3a42a9116808e8c79bbb338672d5 100644 (file)
@@ -37,7 +37,7 @@ class VF_Shared extends Plugin {
        function get_headlines($feed_id, $options) {
                $qfh_ret = queryFeedHeadlines(-4,
                        $options['limit'],
-                       $this->get_unread() > 0 ? "adaptive" : "all_articles",
+                       $this->get_unread(-1) > 0 ? "adaptive" : "all_articles",
                        false,
                        $options['search'],
                        $options['search_mode'],