From 2c5c2a62e10d5aadef9908b03908dffe9c26e2ad Mon Sep 17 00:00:00 2001 From: Ɓukasz Kostka Date: Fri, 15 Aug 2014 00:13:54 +0200 Subject: move " on " suffix in graph title to JSON Closes #101 --- type/Base.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'type/Base.class.php') diff --git a/type/Base.class.php b/type/Base.class.php index 35d6e8b..7ee547e 100644 --- a/type/Base.class.php +++ b/type/Base.class.php @@ -18,7 +18,7 @@ class Type_Base { var $rrd_vertical; var $rrd_format = '%5.1lf%s'; var $scale = 1; - var $base; + var $base; var $width; var $height; var $graph_type; @@ -288,7 +288,7 @@ class Type_Base { '-w', is_numeric($this->width) ? $this->width : 400, '-h', is_numeric($this->height) ? $this->height : 175, '-l', '0', - '-t', "{$this->rrd_title} on {$this->args['host']}" + '-t', $this->rrd_title )); if ($this->rrd_vertical) { $rrdgraph[] = '-v'; -- cgit v1.1