summaryrefslogtreecommitdiffstats
path: root/frontends/php/include/classes
diff options
context:
space:
mode:
authorosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2006-06-01 14:14:28 +0000
committerosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2006-06-01 14:14:28 +0000
commit5f33760cba07eb31752aa71ce07853aaf3c6ac34 (patch)
treefd9655f0d23c88ed986995f941bbca276c10c2be /frontends/php/include/classes
parentc6f2ceedc8a767ed0724b6adea66e9863bad6f58 (diff)
downloadzabbix-5f33760cba07eb31752aa71ce07853aaf3c6ac34.tar.gz
zabbix-5f33760cba07eb31752aa71ce07853aaf3c6ac34.tar.xz
zabbix-5f33760cba07eb31752aa71ce07853aaf3c6ac34.zip
- minor fix (Eugene)
git-svn-id: svn://svn.zabbix.com/trunk@2937 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include/classes')
-rw-r--r--frontends/php/include/classes/graph.inc.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/frontends/php/include/classes/graph.inc.php b/frontends/php/include/classes/graph.inc.php
index af683be6..31398cf8 100644
--- a/frontends/php/include/classes/graph.inc.php
+++ b/frontends/php/include/classes/graph.inc.php
@@ -689,7 +689,7 @@
foreach(array(GRAPH_ITEM_SIMPLE, GRAPH_ITEM_AGGREGATED) as $type)
{
- if(!isset($this->items[$i][$type]))
+ if(!isset($this->data[$this->items[$i]["itemid"]][$type]))
continue;
$data = &$this->data[$this->items[$i]["itemid"]][$type];
@@ -764,7 +764,7 @@
foreach(array(GRAPH_ITEM_SIMPLE, GRAPH_ITEM_AGGREGATED) as $type)
{
- if(!isset($this->items[$i][$type]))
+ if(!isset($this->data[$this->items[$i]["itemid"]][$type]))
continue;
$data = &$this->data[$this->items[$i]["itemid"]][$type];