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/mysql.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugin/mysql.php') diff --git a/plugin/mysql.php b/plugin/mysql.php index 3d8b25b..445176b 100644 --- a/plugin/mysql.php +++ b/plugin/mysql.php @@ -6,7 +6,7 @@ require_once 'conf/common.inc.php'; require_once 'type/GenericStacked.class.php'; require_once 'inc/collectd.inc.php'; -$obj = new Type_GenericStacked($CONFIG); +$obj = new Type_GenericStacked($CONFIG, $_GET); $obj->rrd_format = '%5.1lf%s'; switch($obj->args['type']) -- cgit v1.1