add email address also for new accounts

see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=270672
This commit is contained in:
Lars Kneschke 2004-10-18 05:15:58 +00:00
parent 940deb08a9
commit cf3f10911e

View File

@ -19,7 +19,9 @@
function add_user($userData)
{
$userData['account_expires'] = $userData['expires'];
$userData['account_expires'] = $userData['expires'];
$userData['account_email'] = $userData['email'];
$GLOBALS['phpgw']->db->lock(
Array(
'phpgw_accounts',