2010-11-04 Miguel de Dios <miguel.dedios@artica.es>

* include/functions_config.php: fixed empty spaces the list of ACL IP.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3525 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
mdtrooper 2010-11-04 18:01:58 +00:00
parent f1084eca7e
commit 9c566086ac
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2010-11-04 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_config.php: fixed empty spaces the list of ACL IP.
2010-11-04 Ramon Novoa <rnovoa@artica.es>
* include/fgraph.php: Do not propagate compressed data to dates in the

View File

@ -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.