Fixed api get all agents

This commit is contained in:
Daniel Maya 2021-03-23 09:55:57 +01:00
parent b1bfd70feb
commit 131a04a4ce
1 changed files with 2 additions and 2 deletions

View File

@ -2015,10 +2015,10 @@ function api_get_all_agents($thrash1, $thrash2, $other, $returnType)
}
$ag_groups = implode(',', (array) $ag_groups);
}
$where .= ' AND (id_grupo IN ('.$ag_groups.') OR id_group IN ('.$ag_groups.'))';
}
}
if (isset($other['data'][3])) {
// Filter by alias