From: Michael Date: Sat, 28 Mar 2020 10:34:23 +0000 (+0000) Subject: Prevent another endless loop while fetching AP items X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=cc913bcf7cccb16ea82006bc6f1258697f00ba3c;p=friendica.git Prevent another endless loop while fetching AP items --- diff --git a/src/Protocol/ActivityPub.php b/src/Protocol/ActivityPub.php index 6f835e7e8f..c3168f5509 100644 --- a/src/Protocol/ActivityPub.php +++ b/src/Protocol/ActivityPub.php @@ -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'])) {