Merge branch 'ent-7108-API-get-all-agents-no-filtra-por-alias' into 'develop'

Ent 7108 api get all agents no filtra por alias

See merge request artica/pandorafms!3944
This commit is contained in:
Daniel Rodriguez 2021-05-06 12:07:49 +00:00
commit f33384931e
1 changed files with 2 additions and 2 deletions

View File

@ -2121,9 +2121,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])) {