From 5089b30b4f4c3b92619cfcff6a3c7b567dfa20b8 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 27 Aug 2012 10:14:07 +0400 Subject: recently read: select query fix --- include/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/functions.php') diff --git a/include/functions.php b/include/functions.php index 9f0ae7306..441eacb20 100644 --- a/include/functions.php +++ b/include/functions.php @@ -2466,7 +2466,7 @@ } } else if ($feed == -6) { // recently read - $query_strategy_part = "unread = false"; + $query_strategy_part = "unread = false AND last_read IS NOT NULL"; $vfeed_query_part = "ttrss_feeds.title AS feed_title,"; $override_order = "last_read DESC"; } else if ($feed == -3) { // fresh virtual feed -- cgit v1.2.3