diff --git a/pandora_console/include/functions_agents.php b/pandora_console/include/functions_agents.php index c0d91e35f1..170f17b4e5 100644 --- a/pandora_console/include/functions_agents.php +++ b/pandora_console/include/functions_agents.php @@ -4325,7 +4325,7 @@ function agents_get_starmap(int $id_agent, float $width=0, float $height=0) { ui_require_css_file('heatmap'); - $all_modules = agents_get_modules($id_agent); + $all_modules = agents_get_modules($id_agent, 'id_agente_modulo', ['disabled' => 0]); if (empty($all_modules)) { return null; }