]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/ActivityPub/Outbox.php
Added "collapsed" list
[friendica.git] / src / Module / ActivityPub / Outbox.php
index 4bc1ca69301d27aa27b7789d39add7138f953316..d5fdb5490df7f86054e00378b88f9051974f9548 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2010-2022, the Friendica project
+ * @copyright Copyright (C) 2010-2023, the Friendica project
  *
  * @license GNU AGPL version 3 or any later version
  *
@@ -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);