diff --git a/admin/inc/class.soaccounts.inc.php b/admin/inc/class.soaccounts.inc.php index c71cd83995..639323a02d 100755 --- a/admin/inc/class.soaccounts.inc.php +++ b/admin/inc/class.soaccounts.inc.php @@ -20,7 +20,12 @@ function add_user($userData) { $userData['account_expires'] = $userData['expires']; - $userData['account_email'] = $userData['email']; + //$userData['account_email'] = $userData['email']; + + if($userData['email'] != "") + { + $userData['account_email'] = $userData['email']; + } $GLOBALS['phpgw']->db->lock( Array(