Prevent another endless loop while fetching AP items

This commit is contained in:
Michael 2020-03-28 10:34:23 +00:00
parent 8a4a65f418
commit cc913bcf7c
1 changed files with 1 additions and 1 deletions

View File

@ -234,7 +234,7 @@ class ActivityPub
} elseif (!empty($data['first']) && is_string($data['first']) && ($data['first'] != $url)) {
return self::fetchItems($data['first'], $uid);
} else {
$items = [];
return [];
}
if (!empty($data['next']) && is_string($data['next'])) {