summaryrefslogtreecommitdiffstats
path: root/frontends/php/maps.php
diff options
context:
space:
mode:
authorhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2002-05-23 07:31:22 +0000
committerhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2002-05-23 07:31:22 +0000
commit8a83be3c36e0b91a41d01df34fbdf96902dba491 (patch)
tree40b0136e2cce373de3f1d556eda52aa355aa5666 /frontends/php/maps.php
parent53e0448d2bbc13ce4539311d738fc8cf33bbdaff (diff)
downloadzabbix-8a83be3c36e0b91a41d01df34fbdf96902dba491.tar.gz
zabbix-8a83be3c36e0b91a41d01df34fbdf96902dba491.tar.xz
zabbix-8a83be3c36e0b91a41d01df34fbdf96902dba491.zip
- unreachable hosts will be clickable in system maps (Alexei)
git-svn-id: svn://svn.zabbix.com/trunk@382 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/maps.php')
-rw-r--r--frontends/php/maps.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontends/php/maps.php b/frontends/php/maps.php
index 801549f1..01148f59 100644
--- a/frontends/php/maps.php
+++ b/frontends/php/maps.php
@@ -100,7 +100,7 @@
$y=DBget_field($result,$i,6);
$status=DBget_field($result,$i,7);
- if($status==0)
+ if( ($status==0)||($status==2))
{
$map=$map."\n<area shape=rect coords=$x,$y,".($x+32).",".($y+32)." href=\"tr_status.php?hostid=$hostid&noactions=true&onlytrue=true&compact=true\" alt=\"$host\">";
}