fix bug loosing email-entry after adding the user

thx to Thai Duong
This commit is contained in:
ak703 2005-01-28 22:01:12 +00:00
parent c7c29c30aa
commit 59392b4087

View File

@ -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(