Issue 11427: id values of OrderedCollections have to contain the page number

This commit is contained in:
Michael 2022-04-21 04:29:08 +00:00
parent 70392df68d
commit eb1f38df22
5 changed files with 27 additions and 15 deletions

View file

@ -43,7 +43,7 @@ class Following extends BaseModule
throw new \Friendica\Network\HTTPException\NotFoundException();
}
$page = $_REQUEST['page'] ?? null;
$page = !empty($request['page']) ? (int)$request['page'] : null;
$following = ActivityPub\Transmitter::getContacts($owner, [Contact::SHARING, Contact::FRIEND], 'following', $page);