mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-10 16:08:34 +01:00
* LDAP/Admin: empty groups showed all users, if selected in accounts-list
This commit is contained in:
parent
90200ea1ec
commit
49c53f0c30
@ -751,11 +751,7 @@ class accounts_ldap
|
||||
$relevantAccounts = array();
|
||||
$sri = ldap_search($this->ds,$this->group_context,"(&(objectClass=posixGroup)(gidnumber=" . abs($param['type']) . "))",array('memberuid'));
|
||||
$group = ldap_get_entries($this->ds, $sri);
|
||||
|
||||
if (isset($group[0]['memberuid']))
|
||||
{
|
||||
$fullSet = array_intersect_key($fullSet, array_flip($group[0]['memberuid']));
|
||||
}
|
||||
$fullSet = $group[0]['memberuid'] ? array_intersect_key($fullSet, array_flip($group[0]['memberuid'])) : array();
|
||||
}
|
||||
$totalcount = count($fullSet);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user