mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 16:55:05 +02:00
Fixed problems with remplace data when module is part of policy. Tiquet: #2853
(cherry picked from commit 0b1099e4c3f37f753c3a7b29ac95049bbd5f1dce)
This commit is contained in:
parent
45f56ebf32
commit
0462d5db03
@ -101,7 +101,11 @@ else {
|
|||||||
$data[3] = html_print_select ($snmp_versions, 'snmp_version', 0, '', '',
|
$data[3] = html_print_select ($snmp_versions, 'snmp_version', 0, '', '',
|
||||||
'', true, false, false, '', $disabledBecauseInPolicy);
|
'', 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');
|
push_table_simple ($data, 'snmp_1');
|
||||||
|
|
||||||
$data = array ();
|
$data = array ();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user