Ensure that the baseurl return value is a string

This commit is contained in:
Michael 2023-05-11 08:13:19 +00:00
parent 4c40bc164d
commit e13a31c4fe
12 changed files with 15 additions and 21 deletions

View file

@ -167,7 +167,7 @@ class User
$system['region'] = '';
$system['postal-code'] = '';
$system['country-name'] = '';
$system['homepage'] = DI::baseUrl();
$system['homepage'] = (string)DI::baseUrl();
$system['dob'] = '0000-00-00';
// Ensure that the user contains data