mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:20 +01:00
fix typo causing name2id() to fail and no members to be returned and therefore existing ones removed in the sync
This commit is contained in:
parent
4a18963650
commit
d0ce70e563
@ -1118,7 +1118,7 @@ class Ldap
|
||||
}
|
||||
|
||||
if (($data = $this->_ldap_search($this->user_context, '(&('.$to_ldap[$which].'=' . $name . ')(objectclass=posixaccount))', array('uidNumber'))) &&
|
||||
!empty($data['uidNumber'][0]))
|
||||
!empty($data['uidnumber'][0]))
|
||||
{
|
||||
return (int)$data['uidnumber'][0];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user