From 5f33760cba07eb31752aa71ce07853aaf3c6ac34 Mon Sep 17 00:00:00 2001 From: osmiy Date: Thu, 1 Jun 2006 14:14:28 +0000 Subject: - minor fix (Eugene) git-svn-id: svn://svn.zabbix.com/trunk@2937 97f52cf1-0a1b-0410-bd0e-c28be96e8082 --- frontends/php/include/classes/graph.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'frontends/php/include/classes/graph.inc.php') 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]; -- cgit