Fix missing var in account update
This commit is contained in:
parent
261a90e998
commit
a6857a5759
|
@ -40,7 +40,7 @@ class LdapAccount extends LdapDomain {
|
|||
$info["webmailActive"] = ($webmailactive) ? 'TRUE' : 'FALSE';
|
||||
$info["authsmtpActive"] = ($authsmtpactive) ? 'TRUE' : 'FALSE';
|
||||
#$info["amavisBypassSpamChecks"] = ($amavisBypassSpamChecks) ? 'TRUE' : 'FALSE';
|
||||
if (!ldap_mod_replace($this->conn, self::getBaseDN(), $info)) {
|
||||
if (!ldap_mod_replace($this->conn, self::getBaseDN($this), $info)) {
|
||||
$error = ldap_error($this->conn);
|
||||
throw new Exception("Erreur pendant la modification du compte : $error");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue