]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
missing return value check
authorJames Walker <walkah@walkah.net>
Tue, 23 Feb 2010 04:28:15 +0000 (23:28 -0500)
committerJames Walker <walkah@walkah.net>
Tue, 23 Feb 2010 04:30:31 +0000 (23:30 -0500)
plugins/OStatus/lib/webfinger.php

index 0386881d14aec31406680b1edf4ad84d12076ca8..8a5037629467263f116528ce48494cf9aab9a000 100644 (file)
@@ -108,6 +108,10 @@ class Webfinger
 
         $content = $this->fetchURL($url);
 
+        if (!$content) {
+            return false;
+        }
+
         return XRD::parse($content);
     }