summaryrefslogtreecommitdiff
path: root/p/api/greader.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2023-05-01 09:47:10 +0200
committerGravatar GitHub <noreply@github.com> 2023-05-01 09:47:10 +0200
commit53808c6c05a90ad487d770c65e69bc99a2144bae (patch)
tree08102c62d391553c8b913ad0683ffd9d0229567e /p/api/greader.php
parentffacdaa57a4725d9aad15c621eda7179e18dcaa4 (diff)
Fix API starred (#5366)
* Fix API starred Fix https://github.com/FreshRSS/FreshRSS/issues/5363 https://github.com/FreshRSS/FreshRSS/commit/c72914bba2363e436574204b3d6093a6f3cfce89#commitcomment-111220080 * Minor type fix * Additional check * Minor syntax change * Forgotten type change
Diffstat (limited to 'p/api/greader.php')
-rw-r--r--p/api/greader.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/p/api/greader.php b/p/api/greader.php
index 34b74fd19..a28825eb7 100644
--- a/p/api/greader.php
+++ b/p/api/greader.php
@@ -746,7 +746,7 @@ final class GReaderAPI {
$entryDAO = FreshRSS_Factory::createEntryDao();
$ids = $entryDAO->listIdsWhere($type, $id, $state, $order === 'o' ? 'ASC' : 'DESC', $count, $continuation, $searches);
- if ($ids == null) {
+ if ($ids === null) {
self::internalServerError();
}