summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
Diffstat (limited to 'classes')
-rw-r--r--classes/User.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/classes/User.php b/classes/User.php
index 7ac975007..11b010a83 100644
--- a/classes/User.php
+++ b/classes/User.php
@@ -263,9 +263,7 @@ class User extends Memcached_DataObject
$profile->query('COMMIT');
if ($email && !$user->email) {
- mail_confirm_address($confirm->code,
- $profile->nickname,
- $email);
+ mail_confirm_address($user, $confirm->code, $profile->nickname, $email);
}
return $user;