summaryrefslogtreecommitdiff
path: root/classes/User.php
diff options
context:
space:
mode:
authorZach Copley <zach@controlyourself.ca>2008-12-09 03:27:50 -0500
committerZach Copley <zach@controlyourself.ca>2008-12-09 03:27:50 -0500
commit792cb7a5358c4b7f80b124d5a80c625a7d4d89ea (patch)
tree1ffa10fdc85dff93fb77adc1cbbecb9b29d559dc /classes/User.php
parent3f8e60a8fc00b6aca924df077e7e353815dc69fd (diff)
fix registration bug - fatal error when sending email confirmation
darcs-hash:20081209082750-7b5ce-6d06a7b1cda2a9afb6ce8ea64d65df81cc063139.gz
Diffstat (limited to 'classes/User.php')
-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;