Revert wrong boolean

pull/2258/head
Alexandre Alapetite 6 years ago
parent 7d76acad04
commit 2856f7b8b4
  1. 2
      app/Controllers/feedController.php

@ -357,7 +357,7 @@ class FreshRSS_feed_Controller extends Minz_ActionController {
$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 ? true : null); //Change is_read according to policy.
$entry->_isRead($mark_updated_article_unread ? false : null); //Change is_read according to policy.
$entry = Minz_ExtensionManager::callHook('entry_before_insert', $entry);
if ($entry === null) {

Loading…
Cancel
Save