diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index c5b9ae1a57..c7511a2ec9 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,5 +1,8 @@ 2008-04-10 Sancho Lerena + * godmode/agentes/configurar_agente.php: Fixe problem with server + assigment in creation mode. + * godmode/agentes/alert_manager.php, godmode/agentes/configurar_agente.php, godmode/agentes/alert_manager_editor.php: Fixed problem with combined alert editor. Tested and works fine for me. diff --git a/pandora_console/godmode/agentes/configurar_agente.php b/pandora_console/godmode/agentes/configurar_agente.php index c1593da4ef..c455088731 100644 --- a/pandora_console/godmode/agentes/configurar_agente.php +++ b/pandora_console/godmode/agentes/configurar_agente.php @@ -109,10 +109,12 @@ if ( isset ($_POST["create_agent"])) { // Create a new and shining agent $intervalo = entrada_limpia ($_POST["intervalo"]); $comentarios = entrada_limpia ($_POST["comentarios"]); $modo = entrada_limpia ($_POST["modo"]); - $id_network_server = get_parameter_post ($_POST["network_server"], 0); - $id_plugin_server = get_parameter_post ($_POST["plugin_server"], 0); - $id_prediction_server = get_parameter_post ($_POST["prediction_server"], 0); - $id_wmi_server = get_parameter_post ($_POST["wmi_server"], 0); + + $id_network_server = get_parameter_post ("network_server", 0); + $id_plugin_server = get_parameter_post ("plugin_server", 0); + $id_prediction_server = get_parameter_post ("prediction_server", 0); + $id_wmi_server = get_parameter_post ("wmi_server", 0); + $id_os = entrada_limpia ($_POST["id_os"]); $disabled = entrada_limpia ($_POST["disabled"]);