diff --git a/pandora_console/include/functions_tactical.php b/pandora_console/include/functions_tactical.php index 3b50ba5476..dec75ae13e 100644 --- a/pandora_console/include/functions_tactical.php +++ b/pandora_console/include/functions_tactical.php @@ -416,7 +416,7 @@ function tactical_get_data( } else { $result_list = db_get_all_rows_sql( sprintf( - 'SELECT COUNT(*) as contado, estado + 'SELECT COUNT(DISTINCT(tam.id_agente_modulo)) as contado, estado FROM tagente_estado tae INNER JOIN tagente ta ON tae.id_agente = ta.id_agente