diff options
author | Renato Botelho <garga@FreeBSD.org> | 2014-06-20 14:29:07 -0300 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2014-06-20 14:29:07 -0300 |
commit | 0314d512488e58437d788723b4c29fea15711b77 (patch) | |
tree | d4619a69a04ef670fc3ecf14149070f8a6d3dac0 /config/blinkled | |
parent | 979db1fb94648714514fe2322597eb82c531645f (diff) | |
download | pfsense-packages-0314d512488e58437d788723b4c29fea15711b77.tar.gz pfsense-packages-0314d512488e58437d788723b4c29fea15711b77.tar.bz2 pfsense-packages-0314d512488e58437d788723b4c29fea15711b77.zip |
Move reference to function prototype and remove call-time reference
Diffstat (limited to 'config/blinkled')
-rw-r--r-- | config/blinkled/blinkled.inc | 2 | ||||
-rw-r--r-- | config/blinkled/blinkled.xml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/config/blinkled/blinkled.inc b/config/blinkled/blinkled.inc index 25403232..ffbc79b2 100644 --- a/config/blinkled/blinkled.inc +++ b/config/blinkled/blinkled.inc @@ -39,7 +39,7 @@ function blinkled_stop() { mwexec("/usr/bin/killall -9 blinkled"); } -function validate_form_blinkled($post, $input_errors) { +function validate_form_blinkled($post, &$input_errors) { /* Make sure both aren't using the same interface */ if (($post['iface_led2']) && ($post['iface_led3']) && (($post['enable_led2']) && ($post['enable_led3'])) && diff --git a/config/blinkled/blinkled.xml b/config/blinkled/blinkled.xml index fb0965c9..aa0c53e8 100644 --- a/config/blinkled/blinkled.xml +++ b/config/blinkled/blinkled.xml @@ -56,7 +56,7 @@ </field> </fields> <custom_php_validation_command> - validate_form_blinkled($_POST, &$input_errors); + validate_form_blinkled($_POST, $input_errors); </custom_php_validation_command> <custom_php_resync_config_command> sync_package_blinkled(); |