diff --git a/pandora_console/operation/agentes/estado_generalagente.php b/pandora_console/operation/agentes/estado_generalagente.php index 24aa44e098..b7e0758596 100755 --- a/pandora_console/operation/agentes/estado_generalagente.php +++ b/pandora_console/operation/agentes/estado_generalagente.php @@ -825,7 +825,15 @@ $table_events = '
$agent_contact = html_print_table($table_contact, true); -$agent_info = empty($table_data->data) ? '' : html_print_table($table_data, true); +if (empty($table_data->data)) { + $agent_info = ''; +} else { + if (count($table_data->data) === 1 && $config['activate_gis'] && $dataPositionAgent === false) { + $agent_info = ''; + } else { + $agent_info = html_print_table($table_data, true); + } +} $agent_incidents = !isset($table_incident) ? '' : html_print_table($table_incident, true);