Fixed PHP Error.

This commit is contained in:
mdtrooper 2015-08-17 15:54:18 +02:00
parent 13b0145c88
commit 49bdeb37d8
1 changed files with 2 additions and 0 deletions

View File

@ -44,6 +44,8 @@ function config_create_value ($token, $value) {
function config_update_value ($token, $value) {
global $config;
require_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));