summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--actions/register.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/register.php b/actions/register.php
index ed3b33969..c167701fd 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);
}