From f7c97753f5d61f2e6318163da1bd289ca1d50489 Mon Sep 17 00:00:00 2001 From: jim-p Date: Wed, 7 May 2014 16:02:02 -0400 Subject: Fix call-time pass-by-reference in gwled, bump. --- config/gwled/gwled.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config/gwled/gwled.inc') diff --git a/config/gwled/gwled.inc b/config/gwled/gwled.inc index 7bb25147..dad6fe69 100644 --- a/config/gwled/gwled.inc +++ b/config/gwled/gwled.inc @@ -36,7 +36,7 @@ function gwled_stop() { exec("/bin/pkill -9 -f gwled"); } -function validate_form_gwled($post, $input_errors) { +function validate_form_gwled($post, &$input_errors) { /* Make sure both aren't using the same interface */ if (($post['gw_led2']) && ($post['gw_led3']) && (($post['enable_led2']) && ($post['enable_led3'])) && -- cgit v1.2.3