diff options
| author | osmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2005-12-06 14:18:31 +0000 |
|---|---|---|
| committer | osmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2005-12-06 14:18:31 +0000 |
| commit | 2b38f4ab6e176472b299df1ef8bcc982a530b180 (patch) | |
| tree | b38bbbcb2ea031287861603b894f9705dd0c8f02 /frontends/php/map.php | |
| parent | bf81c6330a0749496804eb778d97738b23806de1 (diff) | |
| download | zabbix-2b38f4ab6e176472b299df1ef8bcc982a530b180.tar.gz zabbix-2b38f4ab6e176472b299df1ef8bcc982a530b180.tar.xz zabbix-2b38f4ab6e176472b299df1ef8bcc982a530b180.zip | |
- Fixed bugs. (Eugene)
git-svn-id: svn://svn.zabbix.com/trunk@2398 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/map.php')
| -rw-r--r-- | frontends/php/map.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/frontends/php/map.php b/frontends/php/map.php index 9b24c5ae..a30d7b43 100644 --- a/frontends/php/map.php +++ b/frontends/php/map.php @@ -161,8 +161,8 @@ $image1=get_image_by_name(1,$shost1["icon"]); $shost2=get_sysmaps_hosts_by_shostid($shostid2); - $x1=$shost2["x"]; - $y1=$shost2["y"]; + $x2=$shost2["x"]; + $y2=$shost2["y"]; $image2=get_image_by_name(1,$shost2["icon"]); // Get image dimensions @@ -236,7 +236,7 @@ $icons=array(); $result=DBselect("select h.host,sh.shostid,sh.sysmapid,sh.hostid,sh.label,sh.x,sh.y,h.status,sh.icon,sh.icon_on,h.ip from sysmaps_hosts sh,hosts h where sh.sysmapid=".$_REQUEST["sysmapid"]." and h.hostid=sh.hostid"); - while($row=DBfetch($row)) + while($row=DBfetch($result)) { $host=$row["host"]; $shostid=$row["shostid"]; |
