summaryrefslogtreecommitdiffstats
path: root/frontends/php/include/classes/graph.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'frontends/php/include/classes/graph.inc.php')
-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];