From 0314d512488e58437d788723b4c29fea15711b77 Mon Sep 17 00:00:00 2001 From: Renato Botelho Date: Fri, 20 Jun 2014 14:29:07 -0300 Subject: Move reference to function prototype and remove call-time reference --- config/blinkled/blinkled.inc | 2 +- config/blinkled/blinkled.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'config/blinkled') 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 @@ - validate_form_blinkled($_POST, &$input_errors); + validate_form_blinkled($_POST, $input_errors); sync_package_blinkled(); -- cgit v1.2.3