Fixed problems with remplace data when module is part of policy. Tiquet: #2853
(cherry picked from commit 0b1099e4c3
)
This commit is contained in:
parent
45f56ebf32
commit
0462d5db03
|
@ -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 ();
|
||||
|
|
Loading…
Reference in New Issue