Revert "Fixed gets "all" group in the ntwmap generator"

This reverts commit a45475ad70.
This commit is contained in:
Arturo Gonzalez 2016-09-13 15:01:58 +02:00
parent a45475ad70
commit f9b6dc3b84
1 changed files with 0 additions and 2 deletions

View File

@ -370,8 +370,6 @@ 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;