mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-04-26 17:27:42 -04:00
Fix *mark as read* articles when adding a new feed
https://github.com/FreshRSS/FreshRSS/issues/1535
This commit is contained in:
@@ -348,6 +348,7 @@ class FreshRSS_feed_Controller extends Minz_ActionController {
|
||||
} else {
|
||||
if ($isNewFeed) {
|
||||
$id = min(time(), $entry_date) . uSecString();
|
||||
$entry->_isRead($is_read);
|
||||
} elseif ($entry_date < $date_min) {
|
||||
$id = min(time(), $entry_date) . uSecString();
|
||||
$entry->_isRead(true); //Old article that was not in database. Probably an error, so mark as read
|
||||
|
||||
Reference in New Issue
Block a user