Fixed api get all agents
This commit is contained in:
parent
b1bfd70feb
commit
131a04a4ce
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue