mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-04-08 18:55:09 +02:00
Fixed api get all agents
This commit is contained in:
parent
b1bfd70feb
commit
131a04a4ce
@ -2015,9 +2015,9 @@ 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.'))';
|
||||
$where .= ' AND (id_grupo IN ('.$ag_groups.') OR id_group IN ('.$ag_groups.'))';
|
||||
}
|
||||
}
|
||||
|
||||
if (isset($other['data'][3])) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user