From 3d79115c377cda78785f408f8cb01797d53534e0 Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Fri, 18 Dec 2009 21:02:53 +0000 Subject: [PATCH] do not skip object classes when calculating attribute differences --- lam/lib/modules.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lam/lib/modules.inc b/lam/lib/modules.inc index 3d29b643..5264b712 100644 --- a/lam/lib/modules.inc +++ b/lam/lib/modules.inc @@ -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