diff --git a/pandora_console/godmode/agentes/modificar_agente.php b/pandora_console/godmode/agentes/modificar_agente.php index 39fa81be8b..9c63363df2 100644 --- a/pandora_console/godmode/agentes/modificar_agente.php +++ b/pandora_console/godmode/agentes/modificar_agente.php @@ -586,16 +586,9 @@ $sql = sprintf( $user_groups_to_sql, $search_sql ); -hd('INICIO user_groups_to_sql', true); -hd($user_groups_to_sql, true); -hd('FINAL user_groups_to_sql', true); -hd('INICIO search_sql', true); -hd($search_sql, true); -hd('FINAL search_sql', true); -hd($sql, true); $total_agents = db_get_sql($sql); -hd($total_agents, true); + $sql = sprintf( 'SELECT * FROM tagente LEFT JOIN tagent_secondary_group tasg