mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 08:45:12 +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'])) {
|
if (empty ($filter['id_grupo'])) {
|
||||||
$all_groups = true;
|
$all_groups = true;
|
||||||
$filter['id_grupo'] = $groups;
|
$filter['id_grupo'] = $groups;
|
||||||
|
// Include "All group"
|
||||||
|
$filter['id_grupo'][] = 0;
|
||||||
}
|
}
|
||||||
elseif (! is_array ($filter['id_grupo'])) {
|
elseif (! is_array ($filter['id_grupo'])) {
|
||||||
$all_groups = false;
|
$all_groups = false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user