aboutsummaryrefslogtreecommitdiff
path: root/app/Controllers/feedController.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2017-05-26 12:19:41 +0200
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2017-05-26 12:19:41 +0200
commite12f9d4a98f3e95cea6e9506c2517984e6100b1f (patch)
tree52f36d728f922f54bb99addde2c2acd3a077e87d /app/Controllers/feedController.php
parentd4d2c62b529b774aa3dcfc98bb9ff135e5f185c3 (diff)
parentb848511574d52ca34c91dfacc7ff0e0059b083a6 (diff)
Merge remote-tracking branch 'FreshRSS/dev' into dev
Diffstat (limited to 'app/Controllers/feedController.php')
-rwxr-xr-xapp/Controllers/feedController.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/Controllers/feedController.php b/app/Controllers/feedController.php
index 8e0e5dd6d..c9b6deaa7 100755
--- a/app/Controllers/feedController.php
+++ b/app/Controllers/feedController.php
@@ -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