From 078cfa70db475e82e06e9a6677e813cd4bd5c431 Mon Sep 17 00:00:00 2001 From: Pim van den Berg Date: Sun, 29 Dec 2013 16:49:29 +0100 Subject: fix heigth -> height typo --- type/Default.class.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'type') diff --git a/type/Default.class.php b/type/Default.class.php index 8704d06..5e19e73 100644 --- a/type/Default.class.php +++ b/type/Default.class.php @@ -18,7 +18,7 @@ class Type_Default { var $rrd_format; var $scale = 1; var $width; - var $heigth; + var $height; var $graph_type; var $negative_io; var $graph_smooth; @@ -37,8 +37,8 @@ class Type_Default { $this->identifiers = $this->file2identifier($this->files); $this->width = GET('x'); if (empty($this->width)) $this->width = $config['width']; - $this->heigth = GET('y'); - if (empty($this->heigth)) $this->heigth = $config['heigth']; + $this->height = GET('y'); + if (empty($this->height)) $this->height = $config['height']; $this->graph_type = $config['graph_type']; $this->negative_io = $config['negative_io']; $this->graph_smooth = $config['graph_smooth']; @@ -227,7 +227,7 @@ class Type_Default { if ($this->graph_smooth) $rrdgraph[] = '-E'; $rrdgraph[] = sprintf('-w %d', is_numeric($this->width) ? $this->width : 400); - $rrdgraph[] = sprintf('-h %d', is_numeric($this->heigth) ? $this->heigth : 175); + $rrdgraph[] = sprintf('-h %d', is_numeric($this->height) ? $this->height : 175); $rrdgraph[] = '-l 0'; $rrdgraph[] = sprintf('-t "%s on %s"', $this->rrd_title, $this->args['host']); if ($this->rrd_vertical) -- cgit v1.1