mirror of
https://github.com/friendica/friendica
synced 2025-04-22 19:50:11 +00:00
Ensure that the baseurl return value is a string
This commit is contained in:
parent
4c40bc164d
commit
e13a31c4fe
12 changed files with 15 additions and 21 deletions
|
@ -40,7 +40,7 @@ class OpenSearch extends BaseModule
|
|||
protected function rawContent(array $request = [])
|
||||
{
|
||||
$hostname = DI::baseUrl()->getHost();
|
||||
$baseUrl = DI::baseUrl();
|
||||
$baseUrl = (string)DI::baseUrl();
|
||||
|
||||
/** @var DOMDocument $xml */
|
||||
XML::fromArray([
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue