Fix missing var in account update

This commit is contained in:
Victor LABORIE 2017-12-17 19:44:53 +01:00
parent 261a90e998
commit a6857a5759

View file

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