Skip to content

A free, self-hostable news aggregator…

fever: fix warning of unset array key (#4056)

Felix Bühler1ac3effce53e
diff --git a/p/api/fever.php b/p/api/fever.php
index 8d1ba169f..1bc5aa8df 100644
--- a/p/api/fever.php
+++ b/p/api/fever.php
@@ -508,7 +508,7 @@ class FeverAPI
}
} elseif (isset($_REQUEST['with_ids'])) {
$entry_ids = explode(',', $_REQUEST['with_ids']);
- } else {
+ } elseif (isset($_REQUEST['since_id'])) {
// use the since_id argument to request the next $item_limit items
$since_id = '' . $_REQUEST['since_id'];
if (!ctype_digit($since_id)) {