From 13376bce4268b6bc6c058c172bd84cbfa1e8d6e1 Mon Sep 17 00:00:00 2001 From: enriquecd Date: Fri, 2 Jun 2017 09:54:33 +0200 Subject: [PATCH] Take prediction_module param when create module and init module - #698 --- pandora_console/godmode/agentes/configurar_agente.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/pandora_console/godmode/agentes/configurar_agente.php b/pandora_console/godmode/agentes/configurar_agente.php index c11edc91a3..4484e6a1ba 100644 --- a/pandora_console/godmode/agentes/configurar_agente.php +++ b/pandora_console/godmode/agentes/configurar_agente.php @@ -885,8 +885,12 @@ if ($update_module || $create_module) { // 1.23E-10 is 0.000000000123 $post_process = (string) get_parameter ('post_process', 0.0); - //$prediction_module = 0; - + if(get_parameter ('prediction_module')){ + $prediction_module = get_parameter ('prediction_module'); + } + else{ + $prediction_module = 0; + } $max_timeout = (int) get_parameter ('max_timeout'); $max_retries = (int) get_parameter ('max_retries'); $min = (int) get_parameter_post ("min");