Commit df3f030b authored by Benoit Mortier's avatar Benoit Mortier
Browse files

Fixes: #1660 Fatal error: Call to a member function cd() on a non-object in sambaAccount

parent 1e9bec21
......@@ -1051,6 +1051,7 @@ class sambaAccount extends plugin
}
// Write back to ldap
$ldap = $this->config->get_ldap_link();
$ldap->cd($this->dn);
$this->cleanup();
$ldap->modify ($this->attrs);
......
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