]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/ActivityPub/Outbox.php
Merge pull request #12429 from MrPetovan/bug/contactblock-icon
[friendica.git] / src / Module / ActivityPub / Outbox.php
index 4bc1ca69301d27aa27b7789d39add7138f953316..47ff2a8fc8e840a064997d9879b2dcceb29491f9 100644 (file)
@@ -43,7 +43,7 @@ class Outbox extends BaseModule
                        throw new \Friendica\Network\HTTPException\NotFoundException();
                }
 
-               $page = $_REQUEST['page'] ?? null;
+               $page = !empty($request['page']) ? (int)$request['page'] : null;
 
                $requester = HTTPSignature::getSigner('', $_SERVER);
                $outbox = ActivityPub\Transmitter::getOutbox($owner, $page, $requester);