mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 09:09:04 +01:00
fix bug loosing email-entry after adding the user
thx to Thai Duong
This commit is contained in:
parent
c7c29c30aa
commit
59392b4087
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user