Skip to content
Snippets Groups Projects
Commit 0871a51c authored by Andrew Dolgov's avatar Andrew Dolgov
Browse files

api: fix some php8 warnings (2)

parent 63a90d26
No related branches found
No related tags found
No related merge requests found
......@@ -117,7 +117,7 @@ class API extends Handler {
function getFeeds() {
$cat_id = clean($_REQUEST["cat_id"]);
$unread_only = self::param_to_bool(clean($_REQUEST["unread_only"]));
$unread_only = self::param_to_bool(clean($_REQUEST["unread_only"] ?? 0));
$limit = (int) clean($_REQUEST["limit"] ?? 0);
$offset = (int) clean($_REQUEST["offset"] ?? 0);
$include_nested = self::param_to_bool(clean($_REQUEST["include_nested"]));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment