Fixed the call to io funcions in function 'config_update_value'.

(cherry picked from commit 4c91ec9063)
This commit is contained in:
mdtrooper 2015-06-26 10:31:09 +02:00
parent cc58757d2e
commit 87e60b80bc
1 changed files with 3 additions and 0 deletions

View File

@ -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));