forked from GNUsocial/gnu-social
missing return value check
This commit is contained in:
@@ -108,6 +108,10 @@ class Webfinger
|
|||||||
|
|
||||||
$content = $this->fetchURL($url);
|
$content = $this->fetchURL($url);
|
||||||
|
|
||||||
|
if (!$content) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
return XRD::parse($content);
|
return XRD::parse($content);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user