mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 17:14:36 +01:00
changed to count
This commit is contained in:
parent
9a2524dd26
commit
3d52cc0292
@ -99,7 +99,7 @@
|
||||
$groups = Array();
|
||||
$group_memberships = $phpgw->acl->get_location_list_for_id("phpgw_group", 1, "u", intval($id));
|
||||
if ($group_memberships) {
|
||||
for ($idx=0; $idx<$count($group_memberships); $idx++){
|
||||
for ($idx=0; $idx<count($group_memberships); $idx++){
|
||||
$groups[$group_memberships[$idx]] = 1;
|
||||
}
|
||||
return $groups;
|
||||
|
Loading…
Reference in New Issue
Block a user