fix for bug [ 839099 ] Error in ldapmodify

This commit is contained in:
Lars Kneschke 2003-11-20 06:21:56 +00:00
parent 17fb3e7d52
commit fea33a3d1f

View File

@ -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);