aboutsummaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2019-03-02 20:43:51 +0100
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2019-03-02 20:43:51 +0100
commitf1978da394eb6e400d9aa58faf5322129ad635ce (patch)
treeb749da3a39169024b764859495c05ef2ba70e316 /app
parent2b2d9583cd2a4dc39c6f95dd73866c009f4480ce (diff)
Boolean error
Diffstat (limited to 'app')
-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 42cb46834..179a8971e 100755
--- a/app/Controllers/feedController.php
+++ b/app/Controllers/feedController.php
@@ -356,7 +356,7 @@ class FreshRSS_feed_Controller extends Minz_ActionController {
$mark_updated_article_unread = $feed->attributes('mark_updated_article_unread') !== null ?
$feed->attributes('mark_updated_article_unread') : FreshRSS_Context::$user_conf->mark_updated_article_unread;
$needFeedCacheRefresh = $mark_updated_article_unread;
- $entry->_isRead($mark_updated_article_unread ? false : null); //Change is_read according to policy.
+ $entry->_isRead($mark_updated_article_unread ? true : null); //Change is_read according to policy.
$entry = Minz_ExtensionManager::callHook('entry_before_insert', $entry);
if ($entry === null) {