diff options
Diffstat (limited to 'frontends/php/graph.php')
| -rw-r--r-- | frontends/php/graph.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/frontends/php/graph.php b/frontends/php/graph.php index 0398ec11..600374e2 100644 --- a/frontends/php/graph.php +++ b/frontends/php/graph.php @@ -90,7 +90,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 in (0,2) 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=0 order by h.host,i.description"); echo "<select name=\"itemid\" size=1>"; for($i=0;$i<DBnum_rows($result);$i++) { |
