diff options
Diffstat (limited to 'plugin/apcups.php')
-rw-r--r-- | plugin/apcups.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/apcups.php b/plugin/apcups.php index 5566977..24d1918 100644 --- a/plugin/apcups.php +++ b/plugin/apcups.php | |||
@@ -17,7 +17,7 @@ require_once 'inc/collectd.inc.php'; | |||
17 | # apcups/voltage-input.rrd | 17 | # apcups/voltage-input.rrd |
18 | # apcups/voltage-output.rrd | 18 | # apcups/voltage-output.rrd |
19 | 19 | ||
20 | $obj = new Type_Default($CONFIG); | 20 | $obj = new Type_Default($CONFIG, $_GET); |
21 | 21 | ||
22 | switch($obj->args['type']) { | 22 | switch($obj->args['type']) { |
23 | case 'charge': | 23 | case 'charge': |