diff options
Diffstat (limited to 'config/nut/nut.inc')
-rw-r--r-- | config/nut/nut.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/config/nut/nut.inc b/config/nut/nut.inc index 793e24fd..11fb4b26 100644 --- a/config/nut/nut.inc +++ b/config/nut/nut.inc @@ -97,7 +97,7 @@ return true; } - function before_form_nut($pkg) { + function before_form_nut(&$pkg) { /* return available serial ports */ $serial_types = array("sio", "cua", "tty"); @@ -136,7 +136,7 @@ $field['options']['option'][] = array('name' => $names[$i], 'value' => $values[$i]); } - function validate_form_nut($post, $input_errors) { + function validate_form_nut($post, &$input_errors) { global $config; /* monitor remote validation */ |