summaryrefslogtreecommitdiff
path: root/classes/User.php
diff options
context:
space:
mode:
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);
}