Explorar el Código

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

Felix Bühler hace 4 años
padre
commit
1ac3effce5
Se han modificado 1 ficheros con 1 adiciones y 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)) {