fix bug in dynamic report filter group functionality: not applying recursion correctly
This commit is contained in:
parent
758804e5de
commit
cf0321846f
|
@ -1035,11 +1035,11 @@ function agents_get_group_agents(
|
|||
foreach ($id_group as $parent) {
|
||||
$id_group = array_merge(
|
||||
$id_group,
|
||||
groups_get_id_recursive($parent, true)
|
||||
groups_get_id_recursive($parent, false)
|
||||
);
|
||||
}
|
||||
} else {
|
||||
$id_group = groups_get_id_recursive($id_group, true);
|
||||
$id_group = groups_get_id_recursive($id_group, false);
|
||||
}
|
||||
|
||||
// Check available groups for target user only if asking for 'All' group.
|
||||
|
|
Loading…
Reference in New Issue