From d98b1375f0e8b02e1c5dec1d41dfa50ada883e60 Mon Sep 17 00:00:00 2001 From: jim-p Date: Wed, 7 May 2014 15:57:53 -0400 Subject: Fix call-time pass-by-reference in Softflowd, bump --- config/softflowd/softflowd.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'config/softflowd') diff --git a/config/softflowd/softflowd.xml b/config/softflowd/softflowd.xml index 149631b8..88e521a7 100644 --- a/config/softflowd/softflowd.xml +++ b/config/softflowd/softflowd.xml @@ -1,6 +1,6 @@ softflowd - 0.9.8 + 0.9.8 pkg v1.0.1 softflowd: Settings pkg_edit.php?xml=softflowd.xml&id=0 @@ -103,7 +103,7 @@ config_unlock(); } - function validate_form_softflowd($post, $input_errors) { + function validate_form_softflowd($post, &$input_errors) { if (($post['host'] == "") || !is_ipaddr($post['host'])) $input_errors[] = 'You must specify a valid ip address in the \'Host\' field'; if (($post['port'] == "") || !is_port($post['port'])) @@ -129,7 +129,7 @@ sync_package_softflowd(); - validate_form_softflowd($_POST, &$input_errors); + validate_form_softflowd($_POST, $input_errors); cleanup_config_softflowd(); -- cgit v1.2.3