X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FModule%2FHCard.php;h=ce63d77c356a8239132a5aefcf65c2ea99718e80;hb=706444bdb22b57f18c284044bdbdaeb7610990fe;hp=92627125abba940e358e29082426cbce555549eb;hpb=97cad5d2e0f9cfe64c9c0dca2f74fef127aaf6ad;p=friendica.git
diff --git a/src/Module/HCard.php b/src/Module/HCard.php
index 92627125ab..ce63d77c35 100644
--- a/src/Module/HCard.php
+++ b/src/Module/HCard.php
@@ -64,9 +64,9 @@ class HCard extends BaseModule
$page['htmlhead'] .= '' . "\r\n";
}
- $baseUrl = DI::baseUrl();
+ $baseUrl = (string)DI::baseUrl();
- $uri = urlencode('acct:' . $profile['nickname'] . '@' . $baseUrl->getHost() . ($baseUrl->getPath() ? '/' . $baseUrl->getPath() : ''));
+ $uri = urlencode('acct:' . $profile['nickname'] . '@' . DI::baseUrl()->getHost() . (DI::baseUrl()->getPath() ? '/' . DI::baseUrl()->getPath() : ''));
$page['htmlhead'] .= '' . "\r\n";
$page['htmlhead'] .= '' . "\r\n";