diff options
author | artem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2008-01-11 15:56:27 +0000 |
---|---|---|
committer | artem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2008-01-11 15:56:27 +0000 |
commit | 6d47f4278d61e0efde9cafab7d4dd5477f974891 (patch) | |
tree | bbc37342f8d1e95aa4fb63a68c738ba41926cb65 /frontends/php/include/db.inc.php | |
parent | 4126039bc0cad4231822bbd07fe9dda5301ab423 (diff) | |
download | zabbix-6d47f4278d61e0efde9cafab7d4dd5477f974891.tar.gz zabbix-6d47f4278d61e0efde9cafab7d4dd5477f974891.tar.xz zabbix-6d47f4278d61e0efde9cafab7d4dd5477f974891.zip |
- [ZBX-253] fixes problem in frontend with long int values (Artem)
git-svn-id: svn://svn.zabbix.com/trunk@5240 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include/db.inc.php')
-rw-r--r-- | frontends/php/include/db.inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/frontends/php/include/db.inc.php b/frontends/php/include/db.inc.php index a3f9b19e..86e76167 100644 --- a/frontends/php/include/db.inc.php +++ b/frontends/php/include/db.inc.php @@ -589,7 +589,7 @@ else { else { $ret1 = $row["nextid"]; - if(($ret1 < $min) || ($ret1 >= $max)) { + if((bccomp($ret1,$min) < 0) || !(bccomp($ret1,$max) < 0)) { DBexecute("delete from ids where nodeid=$nodeid and table_name='$table' and field_name='$field'"); continue; } |