Fixed the call to io funcions in function 'config_update_value'.
(cherry picked from commit 4c91ec9063
)
This commit is contained in:
parent
cc58757d2e
commit
87e60b80bc
|
@ -44,6 +44,9 @@ function config_create_value ($token, $value) {
|
|||
function config_update_value ($token, $value) {
|
||||
global $config;
|
||||
|
||||
// Include functions_io to can call __() function
|
||||
include_once($config['homedir'] . '/include/functions_io.php');
|
||||
|
||||
if ($token == 'list_ACL_IPs_for_API') {
|
||||
$value = str_replace(array("\r\n", "\r", "\n"), ";",
|
||||
io_safe_output($value));
|
||||
|
|
Loading…
Reference in New Issue