aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2019-03-02 20:56:03 +0100
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2019-03-02 20:56:03 +0100
commit7d76acad04f1ac31829611c90a8941104f74b6a4 (patch)
tree286d62bddd1a3dc7a7b8216e16b4ae4262fe5ac5
parentf1978da394eb6e400d9aa58faf5322129ad635ce (diff)
Re-introduce Travis workaround
-rwxr-xr-xapp/Controllers/feedController.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/app/Controllers/feedController.php b/app/Controllers/feedController.php
index 179a8971e..57c2e392d 100755
--- a/app/Controllers/feedController.php
+++ b/app/Controllers/feedController.php
@@ -353,8 +353,9 @@ 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->url(false) .
//', old hash ' . $existingHash . ', new hash ' . $entry->hash());
- $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;
+ $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 ? true : null); //Change is_read according to policy.