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/httpconf.php | |
| parent | 4126039bc0cad4231822bbd07fe9dda5301ab423 (diff) | |
- [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/httpconf.php')
| -rw-r--r-- | frontends/php/httpconf.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/frontends/php/httpconf.php b/frontends/php/httpconf.php index 2e8a96a3..23a8594f 100644 --- a/frontends/php/httpconf.php +++ b/frontends/php/httpconf.php @@ -325,7 +325,7 @@ include_once "include/page_header.php"; { foreach($_REQUEST['steps'] as $s2id => $s2) { - if($s1['name'] == $s2['name'] && $s1id != $s2id) + if((strcmp($s1['name'],$s2['name'])==0) && $s1id != $s2id) { $_REQUEST['steps'][$s1id] = $_REQUEST['steps'][$s2id]; unset($_REQUEST['steps'][$s2id]); @@ -399,7 +399,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) |
