summaryrefslogtreecommitdiffstats
path: root/frontends/php
diff options
context:
space:
mode:
authorhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2002-01-23 19:36:34 +0000
committerhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2002-01-23 19:36:34 +0000
commit6b82efc971219ffc1e7b665d5ec340da9fdf2e2e (patch)
treec3d682a386656f37f5a08ceabad00432e7fd5950 /frontends/php
parent67cb6d2cc40aedd593a36b87fd4d3cd9cab50f62 (diff)
downloadzabbix-6b82efc971219ffc1e7b665d5ec340da9fdf2e2e.tar.gz
zabbix-6b82efc971219ffc1e7b665d5ec340da9fdf2e2e.tar.xz
zabbix-6b82efc971219ffc1e7b665d5ec340da9fdf2e2e.zip
Fix of System Map image (Alexei)
git-svn-id: svn://svn.zabbix.com/trunk@301 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php')
-rw-r--r--frontends/php/map.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontends/php/map.html b/frontends/php/map.html
index dce478e0..87e72fbf 100644
--- a/frontends/php/map.html
+++ b/frontends/php/map.html
@@ -116,7 +116,7 @@
if($count==1)
{
$color=$red;
- $result1=DBselect("select t.description from items i,functions f,triggers t,hosts h where h.hostid=i.hostid and i.hostid=$hostid and i.itemid=f.itemid and f.triggerid=t.triggerid and t.istrue=1 and h.status (0,2) and i.status=0");
+ $result1=DBselect("select t.description from items i,functions f,triggers t,hosts h where h.hostid=i.hostid and i.hostid=$hostid and i.itemid=f.itemid and f.triggerid=t.triggerid and t.istrue=1 and h.status in (0,2) and i.status=0");
$label=DBget_field($result1,0,0);
}
else if($count>1)