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:
parent
f1084eca7e
commit
9c566086ac
|
@ -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>
|
2010-11-04 Ramon Novoa <rnovoa@artica.es>
|
||||||
|
|
||||||
* include/fgraph.php: Do not propagate compressed data to dates in the
|
* include/fgraph.php: Do not propagate compressed data to dates in the
|
||||||
|
|
|
@ -66,6 +66,8 @@ function update_config_value ($token, $value) {
|
||||||
$count = 0;
|
$count = 0;
|
||||||
$lastInsert = false;
|
$lastInsert = false;
|
||||||
foreach ($ips as $ip) {
|
foreach ($ips as $ip) {
|
||||||
|
$ip = trim($ip);
|
||||||
|
|
||||||
$lastInsert = false;
|
$lastInsert = false;
|
||||||
if (strlen($valueDB . ';' . $ip) < 100) {
|
if (strlen($valueDB . ';' . $ip) < 100) {
|
||||||
//100 is the size of field 'value' in tconfig.
|
//100 is the size of field 'value' in tconfig.
|
||||||
|
|
Loading…
Reference in New Issue