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/aggregation.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugin/aggregation.php') diff --git a/plugin/aggregation.php b/plugin/aggregation.php index 3e8b598..c4353ce 100644 --- a/plugin/aggregation.php +++ b/plugin/aggregation.php @@ -13,7 +13,7 @@ $pi = explode("-", GET('pi')); switch($pi[0]) { case 'cpu': require_once 'type/GenericStacked.class.php'; - $obj = new Type_GenericStacked($CONFIG); + $obj = new Type_GenericStacked($CONFIG, $_GET); $obj->data_sources = array('value'); $obj->order = array('idle', 'nice', 'user', 'wait', 'system', 'softirq', 'interrupt', 'steal'); $obj->ds_names = array( -- cgit v1.1