aboutsummaryrefslogtreecommitdiff
path: root/app/Controllers/feedController.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2015-05-09 13:07:54 +0200
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2015-05-09 13:07:54 +0200
commit7f7de31c1dcb6599be5c5713f36b4bde1d03d47a (patch)
tree4f9da11cb30a4835172e55a86c91073a6d2a44c3 /app/Controllers/feedController.php
parent711530a512b370d79b079205ce1f8376174f7f03 (diff)
SQL: update request for updated articles
https://github.com/FreshRSS/FreshRSS/issues/798
Diffstat (limited to 'app/Controllers/feedController.php')
-rwxr-xr-xapp/Controllers/feedController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Controllers/feedController.php b/app/Controllers/feedController.php
index 08a0257a2..59c9174fb 100755
--- a/app/Controllers/feedController.php
+++ b/app/Controllers/feedController.php
@@ -343,7 +343,7 @@ class FreshRSS_feed_Controller extends Minz_ActionController {
} else { //This entry already exists but has been updated
Minz_Log::debug('Entry with GUID `' . $entry->guid() . '` updated in feed ' . $feed->id() .
', old hash ' . $existingHash . ', new hash ' . $entry->hash());
- $entry->_isRead($is_read); //Reset is_read
+ $entry->_isRead(null); //Change is_read according to policy. //TODO: Implement option
if (!$entryDAO->hasTransaction()) {
$entryDAO->beginTransaction();
}