Use $request

This commit is contained in:
Michael 2022-04-09 08:17:26 +00:00
parent a1e675ded1
commit 344e12c4fc

View File

@ -42,7 +42,7 @@ class Featured extends BaseModule
throw new \Friendica\Network\HTTPException\NotFoundException(); throw new \Friendica\Network\HTTPException\NotFoundException();
} }
$page = $_REQUEST['page'] ?? null; $page = $request['page'] ?? null;
$outbox = ActivityPub\Transmitter::getFeatured($owner, $page); $outbox = ActivityPub\Transmitter::getFeatured($owner, $page);
System::jsonExit($outbox, 'application/activity+json'); System::jsonExit($outbox, 'application/activity+json');