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'); }