aboutsummaryrefslogtreecommitdiff
path: root/app/Controllers/feedController.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2019-03-02 23:01:58 +0100
committerGravatar GitHub <noreply@github.com> 2019-03-02 23:01:58 +0100
commited2f6c2cc9b6fe38b1a06a05b9cb063ee8ddf5b4 (patch)
tree915e7b961d735311e3cb421fa060b1c371c0c7c9 /app/Controllers/feedController.php
parent60b7f5e6d966bbfb9d3c24a3b51057abd9b6e718 (diff)
parent2856f7b8b47abcddf20589e19be1f5b98caa1ae3 (diff)
Fix mark_updated_article_unread (#2258)
* Fix mark_updated_article_unread https://github.com/FreshRSS/FreshRSS/issues/2200 * Boolean error * Re-introduce Travis workaround * Revert wrong boolean
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 74c9eacfa..d5ae235ad 100755
--- a/app/Controllers/feedController.php
+++ b/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(FreshRSS_Context::$user_conf->mark_updated_article_unread ? false : 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) {