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