From 53808c6c05a90ad487d770c65e69bc99a2144bae Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Mon, 1 May 2023 09:47:10 +0200 Subject: 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 --- p/api/greader.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'p/api/greader.php') 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(); } -- cgit v1.2.3