From 4c91ec9063c05feaf17fc6691d168596e4b4ccc2 Mon Sep 17 00:00:00 2001 From: mdtrooper Date: Fri, 26 Jun 2015 10:31:09 +0200 Subject: [PATCH] Fixed the call to io funcions in function 'config_update_value'. --- pandora_console/include/functions_config.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pandora_console/include/functions_config.php b/pandora_console/include/functions_config.php index 5a3c1c4065..b48284d701 100644 --- a/pandora_console/include/functions_config.php +++ b/pandora_console/include/functions_config.php @@ -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));