diff options
| author | 2024-07-30 12:01:59 +0200 | |
|---|---|---|
| committer | 2024-07-30 12:01:59 +0200 | |
| commit | 5659b37948c17e5e68971a2464930bee3455dfa1 (patch) | |
| tree | 73cf14f73db93705489f9172f5241dececcc9c49 /app/Controllers/feedController.php | |
| parent | 5c8369ce38c67fba7dd39d68626534c7e61eb24c (diff) | |
Fix markAsReadUponGone regression (#6663)
Regression from https://github.com/FreshRSS/FreshRSS/pull/5470
Was not working anymore when the feed was empty.
Plus simplification of the logic when the feed is not empty
Diffstat (limited to 'app/Controllers/feedController.php')
| -rw-r--r-- | app/Controllers/feedController.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Controllers/feedController.php b/app/Controllers/feedController.php index ba5596a3c..730c13a23 100644 --- a/app/Controllers/feedController.php +++ b/app/Controllers/feedController.php @@ -515,7 +515,7 @@ class FreshRSS_feed_Controller extends FreshRSS_ActionController { } else { $newGuids = $feed->loadGuids($simplePie); $entries = $feed->loadEntries($simplePie); - $feedIsEmpty = $simplePiePush !== null && empty($newGuids); + $feedIsEmpty = $simplePiePush === null && empty($newGuids); $feedIsUnchanged = false; } $mtime = $feed->cacheModifiedTime() ?: time(); |
