aboutsummaryrefslogtreecommitdiffstats
path: root/config/nut/nut.inc
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2014-05-07 16:04:40 -0400
committerjim-p <jimp@pfsense.org>2014-05-07 16:04:59 -0400
commit3df182b3caadfbddf3a9d4426c79164834b85fd4 (patch)
treecbdd71253a3baabd6ca4860ec162acbcb01347d3 /config/nut/nut.inc
parentf7c97753f5d61f2e6318163da1bd289ca1d50489 (diff)
downloadpfsense-packages-3df182b3caadfbddf3a9d4426c79164834b85fd4.tar.gz
pfsense-packages-3df182b3caadfbddf3a9d4426c79164834b85fd4.tar.bz2
pfsense-packages-3df182b3caadfbddf3a9d4426c79164834b85fd4.zip
Fix call-time pass-by-reference in nut, bump
Diffstat (limited to 'config/nut/nut.inc')
-rw-r--r--config/nut/nut.inc4
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 */