diff options
Diffstat (limited to 'app/Controllers/entryController.php')
| -rw-r--r-- | app/Controllers/entryController.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Controllers/entryController.php b/app/Controllers/entryController.php index be553267b..4c88225c0 100644 --- a/app/Controllers/entryController.php +++ b/app/Controllers/entryController.php @@ -114,7 +114,7 @@ class FreshRSS_entry_Controller extends FreshRSS_ActionController { // so the next unread tag calculation is deferred by passing next_get = 'a' instead of the current get ID. if ($next_get === 'a' && $is_read) { $tagDAO = FreshRSS_Factory::createTagDao(); - $tagsList = $tagDAO->listTags() ?: []; + $tagsList = $tagDAO->listTags(); $found_tag = false; foreach ($tagsList as $tag) { if ($found_tag) { @@ -174,7 +174,7 @@ class FreshRSS_entry_Controller extends FreshRSS_ActionController { } $entryDAO->markRead($ids, $is_read); $tagDAO = FreshRSS_Factory::createTagDao(); - $tagsForEntries = $tagDAO->getTagsForEntries($ids) ?: []; + $tagsForEntries = $tagDAO->getTagsForEntries($ids) ?? []; $tags = []; foreach ($tagsForEntries as $line) { $tags['t_' . $line['id_tag']][] = (string)$line['id_entry']; |
