mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 00:34:46 +02:00
#12630 Fixed double safe_input
This commit is contained in:
parent
e9d0002d4e
commit
a019f72f1e
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user