Merge branch 'ent-7867-Error-al-listar-las-interfaces-en-Interface-View' into 'develop'

Ent 7867 error al listar las interfaces en interface view

See merge request artica/pandorafms!4379
This commit is contained in:
Daniel Rodriguez 2021-09-29 08:33:10 +00:00
commit 56c197e4a5
1 changed files with 1 additions and 1 deletions

View File

@ -3072,7 +3072,7 @@ function agents_get_network_interfaces($agents=false, $agents_filter=false)
$ni_by_agents = [];
foreach ($agents as $agent) {
$agent_id = $agent['id_agente'];
$agent_id = (isset($agent['id_agente'])) ? $agent['id_agente'] : $agent;
$agent_group_id = $agent['id_grupo'];
$agent_name = $agent['alias'];
$agent_interfaces = [];