From f62df0253fae930839cfd940bcd7a090c85c20c8 Mon Sep 17 00:00:00 2001 From: Daniel Cebrian Date: Fri, 27 Jan 2023 13:18:57 +0100 Subject: [PATCH] #10236 fixed dynamic_interval in bulk operations --- pandora_console/godmode/massive/massive_edit_modules.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/pandora_console/godmode/massive/massive_edit_modules.php b/pandora_console/godmode/massive/massive_edit_modules.php index c3734ca90f..3bfed79752 100755 --- a/pandora_console/godmode/massive/massive_edit_modules.php +++ b/pandora_console/godmode/massive/massive_edit_modules.php @@ -550,7 +550,7 @@ $table->data['form_agents_3'][3] = html_print_select( $table->data['edit0'][0] = __('Dynamic Interval'); -$table->data['edit0'][1] = html_print_extended_select_for_time('dynamic_interval', '', '', 'None', '0', 10, true, 'width:150px', false); +$table->data['edit0'][1] = html_print_extended_select_for_time('dynamic_interval', -2, '', 'None', '0', 10, true, 'width:150px', false, '', false, false, '', true); $table->data['edit0'][2] = ''; $table->data['edit0'][2] .= ''; $table->data['edit0'][2] .= ''; @@ -2128,6 +2128,12 @@ function process_manage_edit($module_name, $agents_select=null, $module_status=' } break; + case 'dynamic_interval': + if ($value !== -2) { + $values[$field] = $value; + } + break; + case 'plugin_pass': if ($value != '') { $values['plugin_pass'] = io_input_password($value);
'.__('Dynamic Min.').''.html_print_input_text('dynamic_min', '', '', 10, 255, true).'
'.__('Dynamic Max.').'