diff options
-rw-r--r-- | type/Default.class.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/type/Default.class.php b/type/Default.class.php index 8632328..416a352 100644 --- a/type/Default.class.php +++ b/type/Default.class.php | |||
@@ -219,7 +219,8 @@ class Type_Default { | |||
219 | $rrdgraph[] = sprintf('-h %d', is_numeric($this->heigth) ? $this->heigth : 175); | 219 | $rrdgraph[] = sprintf('-h %d', is_numeric($this->heigth) ? $this->heigth : 175); |
220 | $rrdgraph[] = '-l 0'; | 220 | $rrdgraph[] = '-l 0'; |
221 | $rrdgraph[] = sprintf('-t "%s on %s"', $this->rrd_title, $this->args['host']); | 221 | $rrdgraph[] = sprintf('-t "%s on %s"', $this->rrd_title, $this->args['host']); |
222 | $rrdgraph[] = sprintf('-v "%s"', $this->rrd_vertical); | 222 | if ($this->rrd_vertical) |
223 | $rrdgraph[] = sprintf('-v "%s"', $this->rrd_vertical); | ||
223 | $rrdgraph[] = sprintf('-s e-%d', is_numeric($this->seconds) ? $this->seconds : 86400); | 224 | $rrdgraph[] = sprintf('-s e-%d', is_numeric($this->seconds) ? $this->seconds : 86400); |
224 | 225 | ||
225 | return $rrdgraph; | 226 | return $rrdgraph; |