changed user links
This commit is contained in:
parent
d106448726
commit
46d0ce57da
|
@ -106,7 +106,7 @@ for ($i = 0; $i < sizeof($info); $i++) { // ignore last entry in array which is
|
||||||
$dn = $_SESSION["ldap"]->search_username($user); // DN entry
|
$dn = $_SESSION["ldap"]->search_username($user); // DN entry
|
||||||
// if user was found in LDAP make link, otherwise just print name
|
// if user was found in LDAP make link, otherwise just print name
|
||||||
if ($dn) {
|
if ($dn) {
|
||||||
$linklist[$d] = "<a href=../account.php?type=user&DN=\"" . $dn . "\" >" .
|
$linklist[$d] = "<a href=../account.php?type=user&DN='" . $dn . "' >" .
|
||||||
$info[$i][strtolower($attr_array[$k])][$d] . "</a>";
|
$info[$i][strtolower($attr_array[$k])][$d] . "</a>";
|
||||||
}
|
}
|
||||||
else $linklist[$d] = $user;
|
else $linklist[$d] = $user;
|
||||||
|
|
Loading…
Reference in New Issue