summaryrefslogtreecommitdiffstats
path: root/frontends/php/graphs.php
diff options
context:
space:
mode:
authoralex <alex@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2007-08-21 13:20:58 +0000
committeralex <alex@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2007-08-21 13:20:58 +0000
commit397cf67462bd88e61cbf6f638854d8787f66c467 (patch)
tree31381f45e70140dad82a24aacafae222792645e8 /frontends/php/graphs.php
parent9421d2da686bb6a5ea6df277bbfde0bbc32038df (diff)
downloadzabbix-397cf67462bd88e61cbf6f638854d8787f66c467.tar.gz
zabbix-397cf67462bd88e61cbf6f638854d8787f66c467.tar.xz
zabbix-397cf67462bd88e61cbf6f638854d8787f66c467.zip
- fixed SQL problem in Configuration->Graphs, all graphs selected (Alexei)
[svn merge -r4633:4634 svn://svn.zabbix.com/branches/1.4] git-svn-id: svn://svn.zabbix.com/trunk@4635 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 d3f858aa..0901b537 100644
--- a/frontends/php/graphs.php
+++ b/frontends/php/graphs.php
@@ -379,7 +379,7 @@ include_once "include/page_header.php";
{
$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 ".
- ' while '.DBin_node('g.graphid').
+ ' where '.DBin_node('g.graphid').
" AND ( i.hostid not in (".$denyed_hosts.") OR i.hostid is NULL )".
" ORDER BY g.name, g.graphid");
}