diff options
author | James Walker <walkah@walkah.net> | 2010-02-22 23:28:15 -0500 |
---|---|---|
committer | James Walker <walkah@walkah.net> | 2010-02-22 23:30:31 -0500 |
commit | cd561657c2bea873f6916cec0e957a9973fa990e (patch) | |
tree | 7f5593d9a690db7e84af71b5297c555b93e4c700 | |
parent | f4b34d67c54022b70185e83fe628c17e3656d91f (diff) |
missing return value check
-rw-r--r-- | plugins/OStatus/lib/webfinger.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/OStatus/lib/webfinger.php b/plugins/OStatus/lib/webfinger.php index 0386881d1..8a5037629 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); } |