Explorar o código

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

Felix Bühler %!s(int64=4) %!d(string=hai) anos
pai
achega
1ac3effce5
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      p/api/fever.php

+ 1 - 1
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)) {