From 59392b4087b06aac8d4c97e9c475f6e022fcbc28 Mon Sep 17 00:00:00 2001 From: ak703 Date: Fri, 28 Jan 2005 22:01:12 +0000 Subject: [PATCH] fix bug loosing email-entry after adding the user thx to Thai Duong --- admin/inc/class.soaccounts.inc.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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(