diff options
| author | hugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2005-02-08 12:31:45 +0000 |
|---|---|---|
| committer | hugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2005-02-08 12:31:45 +0000 |
| commit | 1a3ecc1d107238e8b9c62ea0a2df64905c0d37e2 (patch) | |
| tree | e5291d4a664ff2d89014c99ee09feb43080d7825 /frontends/php/graph.php | |
| parent | 5abb3b7999a9966d8fd4d3d0a26fe85d609f7cec (diff) | |
More support for hardlinked templates.
git-svn-id: svn://svn.zabbix.com/trunk@1656 97f52cf1-0a1b-0410-bd0e-c28be96e8082
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 493d9d99..481282ff 100644 --- a/frontends/php/graph.php +++ b/frontends/php/graph.php @@ -174,7 +174,7 @@ echo S_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=".HOST_STATUS_MONITORED." and i.status=".ITEM_STATUS_ACTIVE." 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(".HOST_STATUS_MONITORED.",".HOST_STATUS_TEMPLATE.") and i.status=".ITEM_STATUS_ACTIVE." order by h.host,i.description"); echo "<select name=\"itemid\" size=1>"; for($i=0;$i<DBnum_rows($result);$i++) { |
