Merge pull request #12882 from MrPetovan/bug/baseurl-no-string

Cast the base URL as string in /friendica/json
This commit is contained in:
Michael Vogel 2023-03-13 06:21:49 +01:00 committed by GitHub
commit 4273c6d130
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -172,7 +172,7 @@ class Friendica extends BaseModule
$data = [
'version' => App::VERSION,
'url' => DI::baseUrl(),
'url' => (string)DI::baseUrl(),
'addons' => $visible_addons,
'locked_features' => $locked_features,
'explicit_content' => intval($config->get('system', 'explicit_content', 0)),