do not skip object classes when calculating attribute differences
This commit is contained in:
parent
5e7360eb52
commit
3d79115c37
|
@ -1563,10 +1563,10 @@ class accountContainer {
|
||||||
foreach ($orig[$name] as $j => $value) {
|
foreach ($orig[$name] as $j => $value) {
|
||||||
if (is_array($attributes[$name])) {
|
if (is_array($attributes[$name])) {
|
||||||
if (!in_array($value, $attributes[$name])) {
|
if (!in_array($value, $attributes[$name])) {
|
||||||
if (($value != '') && ($name != 'objectClass')) $torem[$name][] = $value;
|
if ($value != '') $torem[$name][] = $value;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (($value != '') && ($name != 'objectClass')) $torem[$name][] = $value;
|
else if ($value != '') $torem[$name][] = $value;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// find new attributes
|
// find new attributes
|
||||||
|
|
Loading…
Reference in New Issue