diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index c03f433c61..063d99a935 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,10 @@ +2009-11-16 Miguel de Dios + + * godmode/reporting/reporting_builder.php, + godmode/reporting/graph_builder.php, godmode/alerts/alert_list.php: fix the + bug that show the modules "pending delete" in more select box in some forms. + Fixes: 2894921 + 2009-11-12 Miguel de Dios * godmode/db/db_sanity.php: fix typo error there was one "zero" more in diff --git a/pandora_console/godmode/alerts/alert_list.php b/pandora_console/godmode/alerts/alert_list.php index 8d9298b7ea..b92de45c05 100644 --- a/pandora_console/godmode/alerts/alert_list.php +++ b/pandora_console/godmode/alerts/alert_list.php @@ -494,7 +494,8 @@ if (! $id_agente) { $table->data[0][0] = __('Module'); $modules = array (); if ($id_agente) - $modules = get_agent_modules ($id_agente); + $modules = get_agent_modules ($id_agente, false, array("delete_pending" => 0)); + $table->data[0][1] = print_select ($modules, 'id_agent_module', 0, true, __('Select'), 0, true, false, true, '', ($id_agente == 0)); $table->data[0][1] .= '