summaryrefslogtreecommitdiff
path: root/include/functions.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2014-06-10 11:39:17 +0400
committerAndrew Dolgov <[email protected]>2014-06-10 11:39:17 +0400
commit1fa5c5409ddd36c1ceac6eb8bfcb19f35f89662e (patch)
tree834060b6ea63496c8cb59b07f4061a52a3579887 /include/functions.php
parent78744d48d71a5e2297b0d09380d31e2645bf10ed (diff)
catchup_feed: only mark articles as read with non-negative score in fresh feed
Diffstat (limited to 'include/functions.php')
-rw-r--r--include/functions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/functions.php b/include/functions.php
index 344e3e1ea..b5d52ccb2 100644
--- a/include/functions.php
+++ b/include/functions.php
@@ -1203,7 +1203,7 @@
SET unread = false, last_read = NOW() WHERE ref_id IN
(SELECT id FROM
(SELECT id FROM ttrss_entries, ttrss_user_entries WHERE ref_id = id
- AND owner_uid = $owner_uid AND unread = true AND $date_qpart AND $match_part) as tmp)");
+ AND owner_uid = $owner_uid AND score >= 0 AND unread = true AND $date_qpart AND $match_part) as tmp)");
}
if ($feed == -4) {