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

@ -42,7 +42,7 @@ class Featured extends BaseModule
throw new \Friendica\Network\HTTPException\NotFoundException();
}
$page = $request['page'] ?? null;
$page = !empty($request['page']) ? (int)$request['page'] : null;
$featured = ActivityPub\Transmitter::getFeatured($owner, $page);