mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-04-08 18:55:09 +02:00
fixed server name selector agent in metaconsole #7653
This commit is contained in:
parent
28047f2348
commit
2d2d10c489
@ -750,6 +750,7 @@ function agents_get_agents_selected($group)
|
||||
'id_tmetaconsole_setup',
|
||||
'id_agente',
|
||||
'alias',
|
||||
'server_name',
|
||||
],
|
||||
'AR',
|
||||
[
|
||||
@ -764,7 +765,7 @@ function agents_get_agents_selected($group)
|
||||
$all = array_reduce(
|
||||
$all,
|
||||
function ($carry, $item) {
|
||||
$carry[$item['id_tmetaconsole_setup'].'|'.$item['id_tagente']] = $item['alias'];
|
||||
$carry[$item['id_tmetaconsole_setup'].'|'.$item['id_tagente']] = $item['server_name'].' » '.$item['alias'];
|
||||
return $carry;
|
||||
},
|
||||
[]
|
||||
|
Loading…
x
Reference in New Issue
Block a user