From 344e12c4fcacb47f4fc1d39bc0ece548de42eb04 Mon Sep 17 00:00:00 2001 From: Michael Date: Sat, 9 Apr 2022 08:17:26 +0000 Subject: [PATCH] Use $request --- src/Module/ActivityPub/Featured.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Module/ActivityPub/Featured.php b/src/Module/ActivityPub/Featured.php index af5a3d317a..2279ec1793 100644 --- a/src/Module/ActivityPub/Featured.php +++ b/src/Module/ActivityPub/Featured.php @@ -42,7 +42,7 @@ class Featured extends BaseModule throw new \Friendica\Network\HTTPException\NotFoundException(); } - $page = $_REQUEST['page'] ?? null; + $page = $request['page'] ?? null; $outbox = ActivityPub\Transmitter::getFeatured($owner, $page); System::jsonExit($outbox, 'application/activity+json'); -- 2.39.5