From fea33a3d1f379f38d5c88552421c193cd021375a Mon Sep 17 00:00:00 2001 From: Lars Kneschke Date: Thu, 20 Nov 2003 06:21:56 +0000 Subject: [PATCH] fix for bug [ 839099 ] Error in ldapmodify --- setup/ldapmodify.php | 1 + 1 file changed, 1 insertion(+) diff --git a/setup/ldapmodify.php b/setup/ldapmodify.php index c1a3537377..fbdb3cd562 100644 --- a/setup/ldapmodify.php +++ b/setup/ldapmodify.php @@ -163,6 +163,7 @@ if($addclass) { reset($entry[0]['objectclass']); + unset($replace['objectclass']['count']); $replace['objectclass'] = $entry[0]['objectclass']; $replace['objectclass'][] = 'phpgwAccount'; ldap_mod_replace($ldap,$thisdn,$replace);