From d272da912082102ac52c73094abd61d463c25385 Mon Sep 17 00:00:00 2001
From: Andrew Dolgov <fox@madoka.volgo-balt.ru>
Date: Thu, 11 Jul 2013 14:23:46 +0400
Subject: [PATCH] vf_shared: fix warning

---
 plugins/vf_shared/init.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plugins/vf_shared/init.php b/plugins/vf_shared/init.php
index 00d288c05..c7eac9659 100644
--- a/plugins/vf_shared/init.php
+++ b/plugins/vf_shared/init.php
@@ -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'],
-- 
GitLab