fixed error message
This commit is contained in:
parent
f1a8dc4ad5
commit
a7ac16dc88
|
@ -74,6 +74,7 @@ if (isset($_POST['add_suff']) || isset($_POST['cancel'])) {
|
||||||
$dn = $suff;
|
$dn = $suff;
|
||||||
if (!@ldap_add($_SESSION['ldap']->server(), $dn, $attr)) {
|
if (!@ldap_add($_SESSION['ldap']->server(), $dn, $attr)) {
|
||||||
$fail[] = $suff;
|
$fail[] = $suff;
|
||||||
|
$error[] = ldap_error($_SESSION['ldap']->server());
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue