fixed account saving

This commit is contained in:
Roland Gruber 2011-12-11 13:07:48 +00:00
parent 9e3667e5a8
commit 1b1db983c6
1 changed files with 1 additions and 1 deletions

View File

@ -1578,7 +1578,7 @@ class accountContainer {
unset($attributes[$this->dn_orig]); unset($attributes[$this->dn_orig]);
} }
} }
elseif (!$this->isNewAccount && (($this->dnSuffix != extractDNSuffix($this->dn_orig)) || ($this->rdn != extractRDNAttribute($this->rdn)))) { elseif (!$this->isNewAccount && (($this->dnSuffix != extractDNSuffix($this->dn_orig)) || ($this->rdn != extractRDNAttribute($this->dn_orig)))) {
$this->finalDN = $this->rdn . '=' . $attributes[$this->dn_orig]['notchanged'][$this->rdn][0] . ',' . $this->dnSuffix; $this->finalDN = $this->rdn . '=' . $attributes[$this->dn_orig]['notchanged'][$this->rdn][0] . ',' . $this->dnSuffix;
$attributes[$this->finalDN] = $attributes[$this->dn_orig]; $attributes[$this->finalDN] = $attributes[$this->dn_orig];
unset($attributes[$this->dn_orig]); unset($attributes[$this->dn_orig]);