mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 16:24:54 +02:00
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) {
|
foreach ($id_group as $parent) {
|
||||||
$id_group = array_merge(
|
$id_group = array_merge(
|
||||||
$id_group,
|
$id_group,
|
||||||
groups_get_id_recursive($parent, true)
|
groups_get_id_recursive($parent, false)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
} else {
|
} 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.
|
// Check available groups for target user only if asking for 'All' group.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user