mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 16:24:54 +02:00
Fixed problems with remplace data when module is part of policy. Tiquet: #2853
This commit is contained in:
parent
2b7c74f1d9
commit
0b1099e4c3
@ -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