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

View file

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