From 6bd40b5108db4bbade083cf9ccd63a7797896830 Mon Sep 17 00:00:00 2001 From: jim-p Date: Wed, 7 May 2014 15:54:52 -0400 Subject: Remove call-time pass-by-reference in Blinkled, bump --- config/blinkled8/blinkled.inc | 2 +- config/blinkled8/blinkled.xml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'config/blinkled8') 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 @@ Interfaces: Assign LEDs blinkled - 0.4 + 0.4.1 Save /usr/local/pkg/blinkled.inc @@ -61,7 +61,7 @@ - validate_form_blinkled($_POST, &$input_errors); + validate_form_blinkled($_POST, $input_errors); sync_package_blinkled(); -- cgit v1.2.3