diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/pref-feeds.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/pref-feeds.php b/modules/pref-feeds.php index e6689e824..86da84bb4 100644 --- a/modules/pref-feeds.php +++ b/modules/pref-feeds.php @@ -505,6 +505,10 @@ db_query($link, "UPDATE ttrss_user_entries SET score = '$s', marked = true WHERE ref_id IN (" . join(',', $scores[$s]) . ")"); + } else if ($s < -500) { + db_query($link, "UPDATE ttrss_user_entries SET score = '$s', + unread = false WHERE + ref_id IN (" . join(',', $scores[$s]) . ")"); } else { db_query($link, "UPDATE ttrss_user_entries SET score = '$s' WHERE ref_id IN (" . join(',', $scores[$s]) . ")"); |