summaryrefslogtreecommitdiffstats
path: root/frontends/php/chart2.php
diff options
context:
space:
mode:
Diffstat (limited to 'frontends/php/chart2.php')
-rw-r--r--frontends/php/chart2.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/frontends/php/chart2.php b/frontends/php/chart2.php
index d1613ca3..9d81e933 100644
--- a/frontends/php/chart2.php
+++ b/frontends/php/chart2.php
@@ -56,10 +56,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.') ';
@@ -112,4 +112,4 @@ include_once 'include/page_header.php';
include_once 'include/page_footer.php';
-?>
+?> \ No newline at end of file