mirror of
https://github.com/pixelfed/pixelfed.git
synced 2025-01-10 14:10:46 +00:00
commit
bf6988d67a
1 changed files with 1 additions and 1 deletions
|
@ -1161,7 +1161,7 @@ class Helpers
|
||||||
{
|
{
|
||||||
$res = self::fetchProfileFromUrl($url);
|
$res = self::fetchProfileFromUrl($url);
|
||||||
|
|
||||||
if (! self::isValidProfileData($res, $url)) {
|
if (! $res || ! self::isValidProfileData($res, $url)) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue