diff options
Diffstat (limited to 'frontends/php/graph.html')
| -rw-r--r-- | frontends/php/graph.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/frontends/php/graph.html b/frontends/php/graph.html index 15d99787..97ba4ce5 100644 --- a/frontends/php/graph.html +++ b/frontends/php/graph.html @@ -94,7 +94,7 @@ echo "Parameter"; show_table2_h_delimiter(); - $result=DBselect("select h.host,i.description,i.itemid from hosts h,items i where h.hostid=i.hostid and h.status=0 and i.status in (0,2) order by h.host,i.description"); + $result=DBselect("select h.host,i.description,i.itemid from hosts h,items i where h.hostid=i.hostid and h.status in (0,2) and i.status in (0,2) order by h.host,i.description"); echo "<select name=\"itemid\" size=1>"; for($i=0;$i<DBnum_rows($result);$i++) { |
