From 954a225279e2493fac3c36d2b768246245bb6233 Mon Sep 17 00:00:00 2001 From: miguel angel rasteu Date: Tue, 19 Sep 2023 17:47:12 +0200 Subject: [PATCH] #12090 Fix intervals --- pandora_console/include/functions_config.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pandora_console/include/functions_config.php b/pandora_console/include/functions_config.php index 393c6a2610..12b8da9991 100644 --- a/pandora_console/include/functions_config.php +++ b/pandora_console/include/functions_config.php @@ -1486,7 +1486,7 @@ function config_update_config() // -------------------------------------------------- // CUSTOM INTERVAL VALUES // -------------------------------------------------- - $interval_values = get_parameter('interval_values'); + $interval_values = $config['interval_values']; // Add new interval value if is provided. $interval_value = (float) get_parameter('interval_value', 0); @@ -1528,6 +1528,7 @@ function config_update_config() $interval_values = implode(',', $interval_values_array); } + hd($interval_values, true); if (config_update_value('interval_values', $interval_values, true) === false) { $error_update[] = __('Delete interval'); }