From d37388761581831cae70952de885dc1db30a1c47 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Sat, 4 Jan 2025 00:35:11 -0700 Subject: [PATCH] Update Helpers --- app/Util/ActivityPub/Helpers.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Util/ActivityPub/Helpers.php b/app/Util/ActivityPub/Helpers.php index 9278ed8b3..2cc46d2b7 100644 --- a/app/Util/ActivityPub/Helpers.php +++ b/app/Util/ActivityPub/Helpers.php @@ -1161,7 +1161,7 @@ class Helpers { $res = self::fetchProfileFromUrl($url); - if (! self::isValidProfileData($res, $url)) { + if (! $res || ! self::isValidProfileData($res, $url)) { return null; }