fixed error message

This commit is contained in:
Roland Gruber 2013-05-20 09:28:14 +00:00
parent f1a8dc4ad5
commit a7ac16dc88
1 changed files with 1 additions and 0 deletions

View File

@ -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;
}
}