From 4c102bee80a9b5e1d33cc0ed04c95623f1d49c53 Mon Sep 17 00:00:00 2001 From: miguel angel rasteu Date: Tue, 16 May 2023 11:10:51 +0200 Subject: [PATCH] #11215 Fix selected option in interval select --- pandora_console/godmode/agentes/module_manager_editor_common.php | 1 + 1 file changed, 1 insertion(+) diff --git a/pandora_console/godmode/agentes/module_manager_editor_common.php b/pandora_console/godmode/agentes/module_manager_editor_common.php index bc7db02404..27449dc190 100644 --- a/pandora_console/godmode/agentes/module_manager_editor_common.php +++ b/pandora_console/godmode/agentes/module_manager_editor_common.php @@ -690,6 +690,7 @@ if ((int) $moduletype === MODULE_DATA) { // If it is a non policy form, the module_interval will not provided and will. // be taken the agent interval (this code is at configurar_agente.php). } else { + $interval = ($interval === '') ? '300' : $interval; $outputExecutionInterval = html_print_extended_select_for_time('module_interval', $interval, '', '', '0', false, true, false, false, $classdisabledBecauseInPolicy, $disabledBecauseInPolicy); }