From 5c090c0f64b290960c99b18ce28f3d2fda0e3391 Mon Sep 17 00:00:00 2001 From: Pim van den Berg Date: Wed, 16 Jul 2014 23:35:23 +0200 Subject: graph: don't overwrite config rrdtool_opts by rrdtool_opts from json plugin Closes #86 --- graph.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'graph.php') diff --git a/graph.php b/graph.php index dadb2c5..0b7cee5 100644 --- a/graph.php +++ b/graph.php @@ -86,7 +86,7 @@ if (isset($plugin_json[$type]['vertical'])) { } if (isset($plugin_json[$type]['rrdtool_opts'])) { - $obj->rrdtool_opts = $plugin_json[$type]['rrdtool_opts']; + $obj->rrdtool_opts[] = $plugin_json[$type]['rrdtool_opts']; } if (isset($plugin_json[$type]['datasize']) and $plugin_json[$type]['datasize']) -- cgit v1.1