diff --git a/pandora_console/godmode/agentes/configurar_agente.php b/pandora_console/godmode/agentes/configurar_agente.php index c6e35793c1..921bfe509f 100644 --- a/pandora_console/godmode/agentes/configurar_agente.php +++ b/pandora_console/godmode/agentes/configurar_agente.php @@ -838,8 +838,8 @@ if ($update_module || $create_module) { // Don't read as (float) because it lost it's decimals when put into MySQL // where are very big and PHP uses scientific notation, p.e: // 1.23E-10 is 0.000000000123 - - $post_process = (string) get_parameter ('post_process'); + + $post_process = (string) get_parameter ('post_process', 0.0); //$prediction_module = 0; $max_timeout = (int) get_parameter ('max_timeout'); diff --git a/pandora_console/godmode/agentes/module_manager_editor_common.php b/pandora_console/godmode/agentes/module_manager_editor_common.php index 4f9d9f2d6c..e7419d1998 100644 --- a/pandora_console/godmode/agentes/module_manager_editor_common.php +++ b/pandora_console/godmode/agentes/module_manager_editor_common.php @@ -365,7 +365,7 @@ $table_advanced->data[2][1] .= html_print_input_hidden ('moduletype', $moduletyp $table_advanced->data[2][3] = __('Post process').' ' . ui_print_help_icon ('postprocess', true); $table_advanced->data[2][4] = html_print_extended_select_for_post_process('post_process', - $post_process, '', __('Empty'), '0', false, true, false, true, + $post_process, '', '', '0', false, true, false, true, $disabledBecauseInPolicy); $table_advanced->colspan[2][4] = 3;