mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-05-05 13:44:43 -04:00
Fix attributeBoolean (#6543)
Regression from https://github.com/FreshRSS/FreshRSS/pull/5946 fix https://github.com/FreshRSS/FreshRSS/issues/6521
This commit is contained in:
committed by
GitHub
parent
84e961dc48
commit
7d110c23a9
@@ -540,7 +540,7 @@ class FreshRSS_feed_Controller extends FreshRSS_ActionController {
|
||||
$nbMarkedUnread = 0;
|
||||
|
||||
if (count($newGuids) > 0) {
|
||||
if ($feed->attributeBoolean('read_when_same_title_in_feed') === null) {
|
||||
if (!$feed->hasAttribute('read_when_same_title_in_feed')) {
|
||||
$readWhenSameTitleInFeed = (int)FreshRSS_Context::userConf()->mark_when['same_title_in_feed'];
|
||||
} elseif ($feed->attributeBoolean('read_when_same_title_in_feed') === false) {
|
||||
$readWhenSameTitleInFeed = 0;
|
||||
|
||||
Reference in New Issue
Block a user