diff --git a/actions/register.php b/actions/register.php index ed3b339696..c167701fd7 100644 --- a/actions/register.php +++ b/actions/register.php @@ -129,7 +129,7 @@ class RegisterAction extends Action { $profile->query('COMMIT'); if ($email) { - mail_confirm_address($code, + mail_confirm_address($confirm->code, $profile->nickname, $email); }