summaryrefslogtreecommitdiff
path: root/functions.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2009-01-19 04:55:17 +0100
committerAndrew Dolgov <[email protected]>2009-01-19 04:55:17 +0100
commite5a65533fd177d502216379885153f033896a5e0 (patch)
treede9a2ca8d283a215e7fe788c78a9c648a289fde3 /functions.php
parent8b09eac8ab7b0cd3ac6f4bc094503527912ee808 (diff)
show updated articles in adaptive view 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 ";
}
}
}