Commit 33eb7637 authored by Côme Bernigaud's avatar Côme Bernigaud Committed by Benoit Mortier
Browse files

Fixes: #3491 Fixed user ldap error mode

Showing with 2 additions and 2 deletions
+2 -2
...@@ -1018,8 +1018,8 @@ class user extends plugin ...@@ -1018,8 +1018,8 @@ class user extends plugin
$ldap->cd ($this->dn); $ldap->cd ($this->dn);
$ldap->$mode ($this->attrs); $ldap->$mode ($this->attrs);
if (!$ldap->success()){ if (!$ldap->success()){
msg_dialog::display(_("LDAP error"), msgPool::ldaperror($ldap->get_error(), $this->dn, LDAP_DEL, get_class()), LDAP_ERROR); msg_dialog::display(_("LDAP error"), msgPool::ldaperror($ldap->get_error(), $this->dn, 0, get_class()), LDAP_ERROR);
return (1); return 1;
} }
/* Remove ACL dependencies too */ /* Remove ACL dependencies too */
......
  • bmortier @bmortier

    mentioned in issue #1163 (closed)

    By Côme Chilliet on 2017-09-02T15:15:26 (imported from GitLab)

    ·

    mentioned in issue #1163 (closed)

    By Côme Chilliet on 2017-09-02T15:15:26 (imported from GitLab)

    Toggle commit list
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment