mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-04 20:40:14 +01:00
forgot to restore the input fields in error case
This commit is contained in:
parent
a74a6539f7
commit
b1aa198c23
@ -28,8 +28,15 @@
|
|||||||
$t = new Template($phpgw->common->get_tpl_dir("admin"));
|
$t = new Template($phpgw->common->get_tpl_dir("admin"));
|
||||||
$t->set_file(array("form" => "account_form.tpl"));
|
$t->set_file(array("form" => "account_form.tpl"));
|
||||||
|
|
||||||
$account = CreateObject('phpgwapi.accounts',$_account_id);
|
if ($_userData)
|
||||||
$userData = $account->read_repository();
|
{
|
||||||
|
$userData=$_userData;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$account = CreateObject('phpgwapi.accounts',$_account_id);
|
||||||
|
$userData = $account->read_repository();
|
||||||
|
}
|
||||||
|
|
||||||
$t->set_var("form_action",$phpgw->link("editaccount.php",
|
$t->set_var("form_action",$phpgw->link("editaccount.php",
|
||||||
"account_id=$_account_id&old_loginid=".rawurlencode($userData['account_lid'])));
|
"account_id=$_account_id&old_loginid=".rawurlencode($userData['account_lid'])));
|
||||||
|
Loading…
Reference in New Issue
Block a user