mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-24 23:58:54 +01:00
Modify Accounts Modify function (otherwise crash)
This commit is contained in:
parent
284b7cb84f
commit
a4b6f98f04
@ -325,7 +325,8 @@
|
||||
// remove the uid from memberuid
|
||||
$newData['memberuid'] = array_flip($newData['memberuid']);
|
||||
unset($newData['memberuid'][$oldAccountID]);
|
||||
$newData['memberuid'] = array_values(sort(array_flip($newData['memberuid'])));
|
||||
# $newData['memberuid'] = array_values(sort(array_flip($newData['memberuid'])));
|
||||
$newData['memberuid'] = array_values(array_flip($newData['memberuid']));
|
||||
ldap_mod_replace($this->ds, $dn, $newData);
|
||||
#print ldap_error($this->ds);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user