summaryrefslogtreecommitdiff
path: root/classes/User.php
diff options
context:
space:
mode:
authorBrion Vibber <brion@pobox.com>2009-12-15 14:49:53 -0800
committerBrion Vibber <brion@pobox.com>2009-12-16 09:27:48 -0500
commita998bda4a57014d0a319fd0bc31552705f0887ed (patch)
tree3ac7f6669c56e4a579eed8d26fa39338d1989a17 /classes/User.php
parent0158f4f73db1c6090c09da8cc3cdcfb97af3883b (diff)
Fix UserRightsTest unit tests
Diffstat (limited to 'classes/User.php')
-rw-r--r--classes/User.php2
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);
}