summaryrefslogtreecommitdiffstats
path: root/frontends/php/items.php
diff options
context:
space:
mode:
authorartem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2008-01-11 15:56:27 +0000
committerartem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2008-01-11 15:56:27 +0000
commit6d47f4278d61e0efde9cafab7d4dd5477f974891 (patch)
treebbc37342f8d1e95aa4fb63a68c738ba41926cb65 /frontends/php/items.php
parent4126039bc0cad4231822bbd07fe9dda5301ab423 (diff)
downloadzabbix-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/items.php')
-rw-r--r--frontends/php/items.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontends/php/items.php b/frontends/php/items.php
index 5522ed37..a064fca8 100644
--- a/frontends/php/items.php
+++ b/frontends/php/items.php
@@ -706,7 +706,7 @@ include_once "include/page_header.php";
$cmbHosts->AddItem($row["hostid"],$row["host"]);
if($_REQUEST["hostid"]!=0){
- if($_REQUEST["hostid"]==$row["hostid"])
+ if(bccomp($_REQUEST["hostid"], $row["hostid"]) == 0)
$correct_hostid = 'ok';
}
if($first_hostid <= 0)