X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FModule%2FOpenSearch.php;h=7c44bc510e48e8b7570b6ea4984b105944c8d66d;hb=96d2cddb54f3ea3ead6e43e5ca1f814ed6327987;hp=36e8713d99b2be0c339ac75e3499b3f2d719c582;hpb=24c32cff0dcd38d5aa509208f5f17abb05a8b140;p=friendica.git diff --git a/src/Module/OpenSearch.php b/src/Module/OpenSearch.php index 36e8713d99..7c44bc510e 100644 --- a/src/Module/OpenSearch.php +++ b/src/Module/OpenSearch.php @@ -39,8 +39,8 @@ class OpenSearch extends BaseModule */ protected function rawContent(array $request = []) { - $hostname = DI::baseUrl()->getHostname(); - $baseUrl = DI::baseUrl()->get(); + $hostname = DI::baseUrl()->getHost(); + $baseUrl = (string)DI::baseUrl(); /** @var DOMDocument $xml */ XML::fromArray([