diff options
author | artem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2008-05-19 07:35:06 +0000 |
---|---|---|
committer | artem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2008-05-19 07:35:06 +0000 |
commit | 5ea1687a67685fe34875967075bbd422b2d0137a (patch) | |
tree | 155b8770576ed940325eaee49a9d8373406020b3 /frontends/php/chart6.php | |
parent | 50e982514eb5eb2b27af48658ad4375dbd443b84 (diff) | |
download | zabbix-5ea1687a67685fe34875967075bbd422b2d0137a.tar.gz zabbix-5ea1687a67685fe34875967075bbd422b2d0137a.tar.xz zabbix-5ea1687a67685fe34875967075bbd422b2d0137a.zip |
-[DEV-137] fixes for oracle (Artem)
-[HAN-4] selects first host-group in overview screen (Artem)
git-svn-id: svn://svn.zabbix.com/trunk@5707 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/chart6.php')
-rw-r--r-- | frontends/php/chart6.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/frontends/php/chart6.php b/frontends/php/chart6.php index c5abf5f3..a3f7e0f7 100644 --- a/frontends/php/chart6.php +++ b/frontends/php/chart6.php @@ -58,10 +58,10 @@ include_once "include/page_header.php"; } $sql = 'SELECT g.*,h.host,h.hostid '. - ' FROM graphs as g '. - ' LEFT JOIN graphs_items as gi ON g.graphid=gi.graphid '. - ' LEFT JOIN items as i ON gi.itemid=i.itemid '. - ' LEFT JOIN hosts as h ON i.hostid=h.hostid '. + ' FROM graphs g '. + ' LEFT JOIN graphs_items gi ON g.graphid=gi.graphid '. + ' LEFT JOIN items i ON gi.itemid=i.itemid '. + ' LEFT JOIN hosts h ON i.hostid=h.hostid '. ' WHERE g.graphid='.$_REQUEST['graphid']. ' AND h.hostid IN ('.$available_hosts.') '; |