Merge pull request #5421 from pixelfed/staging

Update Helpers
This commit is contained in:
daniel 2025-01-04 00:36:03 -07:00 committed by GitHub
commit bf6988d67a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1161,7 +1161,7 @@ class Helpers
{
$res = self::fetchProfileFromUrl($url);
if (! self::isValidProfileData($res, $url)) {
if (! $res || ! self::isValidProfileData($res, $url)) {
return null;
}