diff --git a/pandora_console/operation/inventory/inventory.php b/pandora_console/operation/inventory/inventory.php index c41009d330..e530a89864 100755 --- a/pandora_console/operation/inventory/inventory.php +++ b/pandora_console/operation/inventory/inventory.php @@ -149,7 +149,11 @@ if (is_ajax() === true) { $tmp->alias .= $server['server_name'].' » '; } - $id = !empty($agent['id_agente']) ? $agent['id_agente'] : $agent['id_agent']; + if (is_metaconsole() === true) { + $id = !empty($agent['id_agente']) ? $agent['id_agente'] : $agent['id_tagente']; + } else { + $id = !empty($agent['id_agente']) ? $agent['id_agente'] : $agent['id_agent']; + } $tmp->alias .= $agent['alias']; $ip = ''.__('N/A').'';