aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/plugin/nut.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--plugin/nut.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/nut.php b/plugin/nut.php
index 848b09b..b1d1610 100644
--- a/plugin/nut.php
+++ b/plugin/nut.php
@@ -14,7 +14,7 @@ require_once 'inc/collectd.inc.php';
14# nut-XXXX/timeleft-XXXX.rrd 14# nut-XXXX/timeleft-XXXX.rrd
15# nut-XXXX/voltage-XXXX.rrd 15# nut-XXXX/voltage-XXXX.rrd
16 16
17$obj = new Type_Default($CONFIG); 17$obj = new Type_Default($CONFIG, $_GET);
18switch($obj->args['type']) { 18switch($obj->args['type']) {
19 case 'frequency': 19 case 'frequency':
20 if ($CONFIG['version'] < 5) { 20 if ($CONFIG['version'] < 5) {