Prevent another endless loop while fetching AP items
This commit is contained in:
parent
8a4a65f418
commit
cc913bcf7c
1 changed files with 1 additions and 1 deletions
|
@ -234,7 +234,7 @@ class ActivityPub
|
||||||
} elseif (!empty($data['first']) && is_string($data['first']) && ($data['first'] != $url)) {
|
} elseif (!empty($data['first']) && is_string($data['first']) && ($data['first'] != $url)) {
|
||||||
return self::fetchItems($data['first'], $uid);
|
return self::fetchItems($data['first'], $uid);
|
||||||
} else {
|
} else {
|
||||||
$items = [];
|
return [];
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!empty($data['next']) && is_string($data['next'])) {
|
if (!empty($data['next']) && is_string($data['next'])) {
|
||||||
|
|
Loading…
Reference in a new issue