From 0462d5db03fb89058a28ecd500b16f5948050c21 Mon Sep 17 00:00:00 2001 From: m-lopez-f Date: Wed, 21 Oct 2015 12:24:06 +0200 Subject: [PATCH] Fixed problems with remplace data when module is part of policy. Tiquet: #2853 (cherry picked from commit 0b1099e4c3f37f753c3a7b29ac95049bbd5f1dce) --- .../godmode/agentes/module_manager_editor_network.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pandora_console/godmode/agentes/module_manager_editor_network.php b/pandora_console/godmode/agentes/module_manager_editor_network.php index c07df89790..d04a38ed54 100644 --- a/pandora_console/godmode/agentes/module_manager_editor_network.php +++ b/pandora_console/godmode/agentes/module_manager_editor_network.php @@ -101,7 +101,11 @@ else { $data[3] = html_print_select ($snmp_versions, 'snmp_version', 0, '', '', '', true, false, false, '', $disabledBecauseInPolicy); } - +if($disabledBecauseInPolicy){ + if ($id_module_type >= 15 && $id_module_type <= 18) { + $data[3] .= html_print_input_hidden ('snmp_version', $tcp_send, true); + } +} push_table_simple ($data, 'snmp_1'); $data = array ();