diff options
author | jim-p <jimp@pfsense.org> | 2014-05-07 15:54:52 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2014-05-07 15:54:52 -0400 |
commit | 6bd40b5108db4bbade083cf9ccd63a7797896830 (patch) | |
tree | c094338e20d7e54d97e8878a0376c1c45fb51749 /config | |
parent | a1db63c131fab7259d1bc865abd279c51d20bbce (diff) | |
download | pfsense-packages-6bd40b5108db4bbade083cf9ccd63a7797896830.tar.gz pfsense-packages-6bd40b5108db4bbade083cf9ccd63a7797896830.tar.bz2 pfsense-packages-6bd40b5108db4bbade083cf9ccd63a7797896830.zip |
Remove call-time pass-by-reference in Blinkled, bump
Diffstat (limited to 'config')
-rw-r--r-- | config/blinkled8/blinkled.inc | 2 | ||||
-rw-r--r-- | config/blinkled8/blinkled.xml | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/config/blinkled8/blinkled.inc b/config/blinkled8/blinkled.inc index f466da94..6d0da039 100644 --- a/config/blinkled8/blinkled.inc +++ b/config/blinkled8/blinkled.inc @@ -69,7 +69,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/blinkled8/blinkled.xml b/config/blinkled8/blinkled.xml index 475e88fc..932d0b0e 100644 --- a/config/blinkled8/blinkled.xml +++ b/config/blinkled8/blinkled.xml @@ -2,7 +2,7 @@ <packagegui> <title>Interfaces: Assign LEDs</title> <name>blinkled</name> - <version>0.4</version> + <version>0.4.1</version> <savetext>Save</savetext> <include_file>/usr/local/pkg/blinkled.inc</include_file> <menu> @@ -61,7 +61,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(); |