diff options
author | Brion Vibber <brion@pobox.com> | 2009-12-15 14:49:53 -0800 |
---|---|---|
committer | Brion Vibber <brion@pobox.com> | 2009-12-16 09:27:48 -0500 |
commit | a998bda4a57014d0a319fd0bc31552705f0887ed (patch) | |
tree | 3ac7f6669c56e4a579eed8d26fa39338d1989a17 /classes/User.php | |
parent | 0158f4f73db1c6090c09da8cc3cdcfb97af3883b (diff) |
Fix UserRightsTest unit tests
Diffstat (limited to 'classes/User.php')
-rw-r--r-- | classes/User.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/User.php b/classes/User.php index d04f7d679..c62314d50 100644 --- a/classes/User.php +++ b/classes/User.php @@ -329,7 +329,7 @@ class User extends Memcached_DataObject $profile->query('COMMIT'); - if ($email && !$user->email) { + if (!empty($email) && !$user->email) { mail_confirm_address($user, $confirm->code, $profile->nickname, $email); } |