user admin page was broken for ldap

This commit is contained in:
Lars Kneschke 2000-11-12 09:26:54 +00:00
parent 5b4c78d22b
commit 84a5c8773d

View File

@ -72,7 +72,15 @@
?> ?>
<form method="POST" action="<?php echo $phpgw->link("editaccount.php"); ?>"> <form method="POST" action="<?php echo $phpgw->link("editaccount.php"); ?>">
<input type="hidden" name="account_id" value="<? echo rawurlencode($userData["account_id"]); ?>"> <input type="hidden" name="account_id" value="<?
if ($phpgw_info["server"]["auth_type"] == "ldap")
{
echo rawurlencode($userData["account_dn"]);
}
else
{
echo $userData["account_id"];
}?>">
<input type="hidden" name="old_loginid" value="<? echo $userData["account_lid"]; ?>"> <input type="hidden" name="old_loginid" value="<? echo $userData["account_lid"]; ?>">
<?php <?php
if ($error) { if ($error) {