X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fregmod.php;h=ed030723d3114eb8fc5016daed6085cb4e17a169;hb=589b7e718da0a1eb5f9f6e86e091307c399e0df6;hp=a3039b79845d88e2d4561f9a3e4a7be2c2673977;hpb=ed9392469e7327639cc2d21870ad0ccacb3cda4d;p=friendica.git diff --git a/mod/regmod.php b/mod/regmod.php index a3039b7984..ed030723d3 100644 --- a/mod/regmod.php +++ b/mod/regmod.php @@ -27,7 +27,7 @@ function user_allow($hash) DBA::update('user', ['blocked' => false, 'verified' => true], ['uid' => $register['uid']]); - $profile = DBA::selectFirst('profile', ['net-publish'], ['uid' => $register['uid'], 'is-default' => true]); + $profile = DBA::selectFirst('profile', ['net-publish'], ['uid' => $register['uid']]); if (DBA::isResult($profile) && $profile['net-publish'] && DI::config()->get('system', 'directory')) { $url = DI::baseUrl() . '/profile/' . $user['nickname'];