mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-30 01:05:39 +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) {
|
if (isset($config[$token]) === false) {
|
||||||
$config[$token] = $value;
|
$config[$token] = $value;
|
||||||
|
$value = io_safe_output($value);
|
||||||
|
|
||||||
if (($password === false)) {
|
if (($password === false)) {
|
||||||
return (bool) config_create_value($token, io_safe_input($value));
|
return (bool) config_create_value($token, io_safe_input($value));
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user