summaryrefslogtreecommitdiff
path: root/functions.php
diff options
context:
space:
mode:
Diffstat (limited to 'functions.php')
-rw-r--r--functions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/functions.php b/functions.php
index f9d38ca06..d80bbf4e9 100644
--- a/functions.php
+++ b/functions.php
@@ -3131,7 +3131,7 @@
} else if ($feed != -1) {
$unread = getFeedUnread($link, $feed, $cat_view);
if ($unread > 0) {
- $view_query_part = " unread = true AND ";
+ $view_query_part = " (unread = true OR (last_read is null and unread = false)) AND ";
}
}
}