mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-25 16:19:00 +01:00
fix for bug [ 839099 ] Error in ldapmodify
This commit is contained in:
parent
17fb3e7d52
commit
fea33a3d1f
@ -163,6 +163,7 @@
|
|||||||
if($addclass)
|
if($addclass)
|
||||||
{
|
{
|
||||||
reset($entry[0]['objectclass']);
|
reset($entry[0]['objectclass']);
|
||||||
|
unset($replace['objectclass']['count']);
|
||||||
$replace['objectclass'] = $entry[0]['objectclass'];
|
$replace['objectclass'] = $entry[0]['objectclass'];
|
||||||
$replace['objectclass'][] = 'phpgwAccount';
|
$replace['objectclass'][] = 'phpgwAccount';
|
||||||
ldap_mod_replace($ldap,$thisdn,$replace);
|
ldap_mod_replace($ldap,$thisdn,$replace);
|
||||||
|
Loading…
Reference in New Issue
Block a user