diff --git a/pandora_console/godmode/agentes/planned_downtime.editor.php b/pandora_console/godmode/agentes/planned_downtime.editor.php index d36c2d4a72..cec18a21ca 100644 --- a/pandora_console/godmode/agentes/planned_downtime.editor.php +++ b/pandora_console/godmode/agentes/planned_downtime.editor.php @@ -880,7 +880,7 @@ $table->data[4][1] = html_print_select( [ 'once' => __('Once'), 'periodically' => __('Periodically'), - 'cron' => __('Cron from/to'), + 'cron' => __('Cron from/to'), ], 'type_execution', $type_execution, diff --git a/pandora_console/godmode/massive/massive_operations.php b/pandora_console/godmode/massive/massive_operations.php index c1d601e28f..49b151b7d4 100755 --- a/pandora_console/godmode/massive/massive_operations.php +++ b/pandora_console/godmode/massive/massive_operations.php @@ -114,11 +114,6 @@ if ($satellite_options != ENTERPRISE_NOT_HOOK) { $options_satellite = array_merge($options_satellite, $satellite_options); } -$options_services = enterprise_hook('massive_services_options'); -if ($options_services === ENTERPRISE_NOT_HOOK) { - $options_services = []; -} - if (in_array($option, array_keys($options_alerts)) === true) { $tab = 'massive_alerts'; @@ -136,8 +131,6 @@ if (in_array($option, array_keys($options_alerts)) === true) { $tab = 'massive_satellite'; } else if (in_array($option, array_keys($options_plugins)) === true) { $tab = 'massive_plugins'; -} else if (in_array($option, array_keys($options_services)) === true) { - $tab = 'massive_services'; } if ($tab === 'massive_agents' && empty($option) === true) { @@ -206,10 +199,6 @@ switch ($tab) { $options = $options_plugins; break; - case 'massive_services': - $options = $options_services; - break; - default: // Default. break; @@ -298,12 +287,6 @@ if ($satellitetab == ENTERPRISE_NOT_HOOK) { $satellitetab = ''; } -$servicestab = enterprise_hook('massive_services_tab'); - -if ($servicestab == ENTERPRISE_NOT_HOOK) { - $servicestab = ''; -} - $onheader = []; $onheader['massive_agents'] = $agentstab; $onheader['massive_modules'] = $modulestab; diff --git a/pandora_console/godmode/menu.php b/pandora_console/godmode/menu.php index d4d10dfa88..d63595d553 100644 --- a/pandora_console/godmode/menu.php +++ b/pandora_console/godmode/menu.php @@ -211,7 +211,6 @@ if ($access_console_node === true) { enterprise_hook('massivepolicies_submenu'); enterprise_hook('massivesnmp_submenu'); enterprise_hook('massivesatellite_submenu'); - enterprise_hook('massiveservices_submenu'); $sub['gmassive']['sub2'] = $sub2; $sub2 = []; diff --git a/pandora_console/godmode/reporting/reporting_builder.item_editor.php b/pandora_console/godmode/reporting/reporting_builder.item_editor.php index 41b50df748..faa8c13ae5 100755 --- a/pandora_console/godmode/reporting/reporting_builder.item_editor.php +++ b/pandora_console/godmode/reporting/reporting_builder.item_editor.php @@ -3874,6 +3874,7 @@ $class = 'databox filters'; } else { $rows_select = modules_get_modulegroups(); } + html_print_select($rows_select, 'modulegroup', $modulegroup, '', __($is_none), -1, true, false, true, '', false, 'width: 120px;'); html_print_select( $rows_select, diff --git a/pandora_console/include/functions_reporting_html.php b/pandora_console/include/functions_reporting_html.php index 69d85d448d..03070811cf 100644 --- a/pandora_console/include/functions_reporting_html.php +++ b/pandora_console/include/functions_reporting_html.php @@ -1756,7 +1756,8 @@ function reporting_html_modules_inventory($table, $item, $pdf=0) } else if ($data_field_key === 'group_id') { $column_value = groups_get_name($data_field_value[0]); } else if ($data_field_key === 'sec_group_id') { - $sec_groups_names = array_map(function ($group_id) { + $sec_groups_names = array_map( + function ($group_id) { return groups_get_name($group_id); }, $data_field_value