From 1c888304d33a8c1405b8716356ae300fad39521c Mon Sep 17 00:00:00 2001 From: Pim van den Berg Date: Sat, 3 May 2014 11:15:53 +0200 Subject: type/Default: don't depend on external function GET --- plugin/cpufreq.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugin/cpufreq.php') diff --git a/plugin/cpufreq.php b/plugin/cpufreq.php index 99f51c6..fbdc6ff 100644 --- a/plugin/cpufreq.php +++ b/plugin/cpufreq.php @@ -9,7 +9,7 @@ require_once 'inc/collectd.inc.php'; ## LAYOUT # cpufreq/cpufreq-X.rrd -$obj = new Type_Default($CONFIG); +$obj = new Type_Default($CONFIG, $_GET); $obj->data_sources = array('value'); $obj->rrd_title = 'CPU frequency scaling'; $obj->rrd_vertical = 'Hz'; -- cgit v1.1