aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Lib/Webfinger.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2022-09-22 06:31:35 +0000
committerMario <mario@mariovavti.com>2022-09-22 06:31:35 +0000
commit937d6cb1efef3250f68f2b943e3964473495acae (patch)
tree578834c1f838b65535c8176fa31237d22afeb42c /Zotlabs/Lib/Webfinger.php
parent118a5edebc745fe2760f781c8bb9e9006bf6215f (diff)
downloadvolse-hubzilla-937d6cb1efef3250f68f2b943e3964473495acae.tar.gz
volse-hubzilla-937d6cb1efef3250f68f2b943e3964473495acae.tar.bz2
volse-hubzilla-937d6cb1efef3250f68f2b943e3964473495acae.zip
php8: fix warnings
Diffstat (limited to 'Zotlabs/Lib/Webfinger.php')
-rw-r--r--Zotlabs/Lib/Webfinger.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/Zotlabs/Lib/Webfinger.php b/Zotlabs/Lib/Webfinger.php
index 611c36889..8484fb797 100644
--- a/Zotlabs/Lib/Webfinger.php
+++ b/Zotlabs/Lib/Webfinger.php
@@ -56,7 +56,7 @@ class Webfinger {
if($m['scheme'] !== 'https') {
return false;
}
- self::$server = $m['host'] . (($m['port']) ? ':' . $m['port'] : '');
+ self::$server = $m['host'] . ((isset($m['port'])) ? ':' . $m['port'] : '');
}
else {
return false;
@@ -86,7 +86,7 @@ class Webfinger {
/**
* @brief fetch a webfinger resource and return a zot6 discovery url if present
*
- */
+ */
static function zot_url($resource) {