diff options
Diffstat (limited to '')
-rw-r--r-- | plugin/nut.php | 2 |
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); |
18 | switch($obj->args['type']) { | 18 | switch($obj->args['type']) { |
19 | case 'frequency': | 19 | case 'frequency': |
20 | if ($CONFIG['version'] < 5) { | 20 | if ($CONFIG['version'] < 5) { |