From: James Walker Date: Tue, 23 Feb 2010 04:28:15 +0000 (-0500) Subject: missing return value check X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=cd561657c2bea873f6916cec0e957a9973fa990e;p=quix0rs-gnu-social.git missing return value check --- diff --git a/plugins/OStatus/lib/webfinger.php b/plugins/OStatus/lib/webfinger.php index 0386881d14..8a50376294 100644 --- a/plugins/OStatus/lib/webfinger.php +++ b/plugins/OStatus/lib/webfinger.php @@ -108,6 +108,10 @@ class Webfinger $content = $this->fetchURL($url); + if (!$content) { + return false; + } + return XRD::parse($content); }