diff --git a/pandora_console/include/functions_config.php b/pandora_console/include/functions_config.php index 4798ed2b4f..cd45611508 100644 --- a/pandora_console/include/functions_config.php +++ b/pandora_console/include/functions_config.php @@ -92,6 +92,8 @@ function config_update_value($token, $value, $noticed=false, $password=false) if (isset($config[$token]) === false) { $config[$token] = $value; + $value = io_safe_output($value); + if (($password === false)) { return (bool) config_create_value($token, io_safe_input($value)); } else {