do not skip object classes when calculating attribute differences

This commit is contained in:
Roland Gruber 2009-12-18 21:02:53 +00:00
parent 5e7360eb52
commit 3d79115c37
1 changed files with 2 additions and 2 deletions

View File

@ -1563,10 +1563,10 @@ class accountContainer {
foreach ($orig[$name] as $j => $value) {
if (is_array($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