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:
commit
56c197e4a5
|
@ -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 = [];
|
||||
|
|
Loading…
Reference in New Issue