mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-04-08 18:55:09 +02:00
Fixed gets "all" group in the ntwmap generator
This commit is contained in:
parent
70f1fb159b
commit
a45475ad70
@ -370,6 +370,8 @@ function agents_get_agents ($filter = false, $fields = false,
|
||||
if (empty ($filter['id_grupo'])) {
|
||||
$all_groups = true;
|
||||
$filter['id_grupo'] = $groups;
|
||||
// Include "All group"
|
||||
$filter['id_grupo'][] = 0;
|
||||
}
|
||||
elseif (! is_array ($filter['id_grupo'])) {
|
||||
$all_groups = false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user