mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-28 00:39:19 +01:00
fixed edit-user-form was loosing data, if an error occured
This commit is contained in:
parent
2d4a438533
commit
05a7e6de3a
@ -1030,8 +1030,8 @@
|
|||||||
{
|
{
|
||||||
$userData = Array();
|
$userData = Array();
|
||||||
$userData=$_userData;
|
$userData=$_userData;
|
||||||
$userData['account_firstname'] = $userData['firstname'];
|
$userData['firstname'] = $userData['account_firstname'];
|
||||||
$userData['account_lastname'] = $userData['lastname'];
|
$userData['lastname'] = $userData['account_lastname'];
|
||||||
@reset($userData['account_groups']);
|
@reset($userData['account_groups']);
|
||||||
while (list($key, $value) = @each($userData['account_groups']))
|
while (list($key, $value) = @each($userData['account_groups']))
|
||||||
{
|
{
|
||||||
@ -1164,8 +1164,8 @@
|
|||||||
'account_firstname' => '<input name="account_firstname" value="' . $userData['firstname'] . '">',
|
'account_firstname' => '<input name="account_firstname" value="' . $userData['firstname'] . '">',
|
||||||
'account_lastname' => '<input name="account_lastname" value="' . $userData['lastname'] . '">',
|
'account_lastname' => '<input name="account_lastname" value="' . $userData['lastname'] . '">',
|
||||||
'account_email' => '<input name="account_email" size="32" value="' . $userData['email'] . '">',
|
'account_email' => '<input name="account_email" size="32" value="' . $userData['email'] . '">',
|
||||||
'account_passwd' => $account_passwd,
|
'account_passwd' => $userData['account_passwd'],
|
||||||
'account_passwd_2' => $account_passwd_2,
|
'account_passwd_2' => $userData['account_passwd_2'],
|
||||||
'account_file_space' => $account_file_space
|
'account_file_space' => $account_file_space
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user