Merge branch 'ent-6890-condición-agentes-vista-SAP2' into 'develop'

Ent 6890 condición agentes vista sap2

See merge request artica/pandorafms!3878
This commit is contained in:
Daniel Rodriguez 2021-03-04 12:12:12 +00:00
commit 2955e14849
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