summaryrefslogtreecommitdiffstats
path: root/frontends/php/graphs.php
diff options
context:
space:
mode:
authorosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2006-11-17 11:34:17 +0000
committerosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2006-11-17 11:34:17 +0000
commitb206daa4f6b4ce7cc3236578c6124788e023ac74 (patch)
treea1694054acc45babce0eaa6a726810808f22e14e /frontends/php/graphs.php
parent896a5045bfed78472b805ad508e164d91430fc4a (diff)
downloadzabbix-b206daa4f6b4ce7cc3236578c6124788e023ac74.tar.gz
zabbix-b206daa4f6b4ce7cc3236578c6124788e023ac74.tar.xz
zabbix-b206daa4f6b4ce7cc3236578c6124788e023ac74.zip
- fixed graph displaying
git-svn-id: svn://svn.zabbix.com/trunk@3498 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/graphs.php')
-rw-r--r--frontends/php/graphs.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontends/php/graphs.php b/frontends/php/graphs.php
index 4a4ee51e..9cfac191 100644
--- a/frontends/php/graphs.php
+++ b/frontends/php/graphs.php
@@ -267,7 +267,7 @@ include_once "include/page_header.php";
}
else
{
- $result = DBselect("select g.* from graphs g left join graphs_items gi on g.graphid=gi.graphid ".
+ $result = DBselect("select distinct g.* from graphs g left join graphs_items gi on g.graphid=gi.graphid ".
" left join items i on gi.itemid=i.itemid ".
" where ".DBid2nodeid("g.graphid")."=".$ZBX_CURNODEID.
" and ( i.hostid not in (".$denyed_hosts.") OR i.hostid is NULL )".