Fixed issue with id_grupo

This commit is contained in:
Daniel Maya 2021-03-04 12:41:14 +01:00
parent 20952fa802
commit aace7344a1
1 changed files with 1 additions and 1 deletions

View File

@ -3772,7 +3772,7 @@ function agents_get_sap_agents($id_agent)
$array_agents = [];
foreach ($sap_modules as $module => $key) {
$sql = sprintf(
'SELECT ta.id_agente,ta.alias
'SELECT ta.id_agente,ta.alias, ta.id_grupo
FROM tagente ta
INNER JOIN tagente_modulo tam
ON tam.id_agente = ta.id_agente