diff options
Diffstat (limited to 'type')
| -rw-r--r-- | type/GenericStacked.class.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/type/GenericStacked.class.php b/type/GenericStacked.class.php index 99f05eb..28f0552 100644 --- a/type/GenericStacked.class.php +++ b/type/GenericStacked.class.php | |||
| @@ -14,7 +14,10 @@ class Type_GenericStacked extends Type_Default { | |||
| 14 | $rrdgraph[] = sprintf('-s -%d', is_numeric($this->seconds) ? $this->seconds : 86400); | 14 | $rrdgraph[] = sprintf('-s -%d', is_numeric($this->seconds) ? $this->seconds : 86400); |
| 15 | 15 | ||
| 16 | if (is_array($this->args['tinstance'])) | 16 | if (is_array($this->args['tinstance'])) |
| 17 | $array = is_array($this->order) ? $this->order : $this->args['tinstance']; | 17 | if (is_array($this->order)) |
| 18 | $array = array_intersect($this->order, $this->args['tinstance']); | ||
| 19 | else | ||
| 20 | $array = $this->args['tinstance']; | ||
| 18 | else | 21 | else |
| 19 | $array = $this->data_sources; | 22 | $array = $this->data_sources; |
| 20 | 23 | ||
