fixed attributes for postModify

This commit is contained in:
Roland Gruber 2011-01-12 21:07:28 +00:00
parent 6d9c15122c
commit ebc8617b77
1 changed files with 3 additions and 3 deletions

View File

@ -1926,15 +1926,15 @@ class accountContainer {
// pre modify actions // pre modify actions
$currentAccountAttributes = array(); $currentAccountAttributes = array();
if (isset($attributes[$this->finalDN]) && is_array($attributes[$this->finalDN])) { if (isset($attributes[$this->finalDN]) && is_array($attributes[$this->finalDN])) {
if (isset($attributes[$this->finalDN]['notchanged'])) {
$currentAccountAttributes = array_merge($currentAccountAttributes, $attributes[$this->finalDN]['notchanged']);
}
if (isset($attributes[$this->finalDN]['modify'])) { if (isset($attributes[$this->finalDN]['modify'])) {
$currentAccountAttributes = array_merge($currentAccountAttributes, $attributes[$this->finalDN]['modify']); $currentAccountAttributes = array_merge($currentAccountAttributes, $attributes[$this->finalDN]['modify']);
} }
if (isset($attributes[$this->finalDN]['add'])) { if (isset($attributes[$this->finalDN]['add'])) {
$currentAccountAttributes = array_merge($currentAccountAttributes, $attributes[$this->finalDN]['add']); $currentAccountAttributes = array_merge($currentAccountAttributes, $attributes[$this->finalDN]['add']);
} }
if (isset($attributes[$this->finalDN]['notchanged'])) {
$currentAccountAttributes = array_merge($currentAccountAttributes, $attributes[$this->finalDN]['notchanged']);
}
} }
$currentAccountAttributes['dn'][0] = $this->finalDN; $currentAccountAttributes['dn'][0] = $this->finalDN;
$preModifyOk = true; $preModifyOk = true;