]> git.mxchange.org Git - friendica.git/commitdiff
Use $request
authorMichael <heluecht@pirati.ca>
Sat, 9 Apr 2022 08:17:26 +0000 (08:17 +0000)
committerMichael <heluecht@pirati.ca>
Sat, 9 Apr 2022 08:17:26 +0000 (08:17 +0000)
src/Module/ActivityPub/Featured.php

index af5a3d317a8750d2c23dd26eb42e868a0c5ecd33..2279ec1793619997e9a80b5d11d1d85bb4f74d05 100644 (file)
@@ -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');