aboutsummaryrefslogtreecommitdiffstats
path: root/config/blinkled
diff options
context:
space:
mode:
authorStephane Lapie <stephane.lapie@asahinet.com>2014-06-23 23:41:59 +0900
committerStephane Lapie <stephane.lapie@asahinet.com>2014-06-23 23:41:59 +0900
commitec079fc18a1289be2676fa57c15829b20cb4a912 (patch)
tree658ebfeb07d9ead4fb5c8d86d723a94819d02511 /config/blinkled
parentab69db91000fd3d83bf86811ede117062f57f438 (diff)
parent5b4c84c4ecc9a6eded4ce3443a665eae2c8a43f9 (diff)
downloadpfsense-packages-ec079fc18a1289be2676fa57c15829b20cb4a912.tar.gz
pfsense-packages-ec079fc18a1289be2676fa57c15829b20cb4a912.tar.bz2
pfsense-packages-ec079fc18a1289be2676fa57c15829b20cb4a912.zip
Merge https://github.com/pfsense/pfsense-packages
Conflicts: pkg_config.10.xml pkg_config.8.xml pkg_config.8.xml.amd64
Diffstat (limited to 'config/blinkled')
-rw-r--r--config/blinkled/blinkled.inc2
-rw-r--r--config/blinkled/blinkled.xml2
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, &amp;$input_errors);
+ validate_form_blinkled($_POST, $input_errors);
</custom_php_validation_command>
<custom_php_resync_config_command>
sync_package_blinkled();