diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 3ef6921dfe..e3419eab02 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,7 @@ +2010-11-04 Miguel de Dios + + * include/functions_config.php: fixed empty spaces the list of ACL IP. + 2010-11-04 Ramon Novoa * include/fgraph.php: Do not propagate compressed data to dates in the diff --git a/pandora_console/include/functions_config.php b/pandora_console/include/functions_config.php index bfa3cc400a..9bed896ae7 100644 --- a/pandora_console/include/functions_config.php +++ b/pandora_console/include/functions_config.php @@ -66,6 +66,8 @@ function update_config_value ($token, $value) { $count = 0; $lastInsert = false; foreach ($ips as $ip) { + $ip = trim($ip); + $lastInsert = false; if (strlen($valueDB . ';' . $ip) < 100) { //100 is the size of field 'value' in tconfig.