forked from extern/egroupware
fixes lost email when adding users
This commit is contained in:
parent
0a7ea17057
commit
78d1fafef0
@ -20,7 +20,12 @@
|
|||||||
function add_user($userData)
|
function add_user($userData)
|
||||||
{
|
{
|
||||||
$userData['account_expires'] = $userData['expires'];
|
$userData['account_expires'] = $userData['expires'];
|
||||||
|
|
||||||
|
|
||||||
|
if($userData['email'] != "")
|
||||||
|
{
|
||||||
$userData['account_email'] = $userData['email'];
|
$userData['account_email'] = $userData['email'];
|
||||||
|
}
|
||||||
|
|
||||||
$GLOBALS['phpgw']->db->lock(
|
$GLOBALS['phpgw']->db->lock(
|
||||||
Array(
|
Array(
|
||||||
|
Loading…
Reference in New Issue
Block a user