fixes lost email when adding users

This commit is contained in:
ak703 2005-01-28 22:18:39 +00:00
parent 0a7ea17057
commit 78d1fafef0

View File

@ -20,7 +20,12 @@
function add_user($userData)
{
$userData['account_expires'] = $userData['expires'];
if($userData['email'] != "")
{
$userData['account_email'] = $userData['email'];
}
$GLOBALS['phpgw']->db->lock(
Array(