mirror of
https://github.com/friendica/friendica
synced 2025-04-24 03:10: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
|
@ -298,7 +298,7 @@ class Register extends BaseModule
|
|||
|
||||
$user = $result['user'];
|
||||
|
||||
$base_url = DI::baseUrl();
|
||||
$base_url = (string)DI::baseUrl();
|
||||
|
||||
if ($netpublish && intval(DI::config()->get('config', 'register_policy')) !== self::APPROVE) {
|
||||
$url = $base_url . '/profile/' . $user['nickname'];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue