mirror of
https://github.com/friendica/friendica
synced 2024-11-18 21:03:41 +00:00
Merge pull request #8459 from annando/ap-loop
Prevent another endless loop while fetching AP items
This commit is contained in:
commit
b791966f93
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)) {
|
||||
return self::fetchItems($data['first'], $uid);
|
||||
} else {
|
||||
$items = [];
|
||||
return [];
|
||||
}
|
||||
|
||||
if (!empty($data['next']) && is_string($data['next'])) {
|
||||
|
|
Loading…
Reference in a new issue