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;
|
||||
if (!@ldap_add($_SESSION['ldap']->server(), $dn, $attr)) {
|
||||
$fail[] = $suff;
|
||||
$error[] = ldap_error($_SESSION['ldap']->server());
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue