aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Lib/Webfinger.php
diff options
context:
space:
mode:
Diffstat (limited to 'Zotlabs/Lib/Webfinger.php')
-rw-r--r--Zotlabs/Lib/Webfinger.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Lib/Webfinger.php b/Zotlabs/Lib/Webfinger.php
index 8484fb797..16d54010c 100644
--- a/Zotlabs/Lib/Webfinger.php
+++ b/Zotlabs/Lib/Webfinger.php
@@ -53,7 +53,7 @@ class Webfinger {
if(strpos($resource,'http') === 0) {
$m = parse_url($resource);
if($m) {
- if($m['scheme'] !== 'https') {
+ if(isset($m['scheme']) && $m['scheme'] !== 'https') {
return false;
}
self::$server = $m['host'] . ((isset($m['port'])) ? ':' . $m['port'] : '');