From 547c0359e269624884f702e06512d6755109d364 Mon Sep 17 00:00:00 2001 From: jim-p Date: Fri, 9 May 2014 14:16:29 -0400 Subject: Fix call-time pass-by-reference in imspector, bump --- config/imspector/imspector.inc | 2 +- config/imspector/imspector.xml | 4 ++-- config/imspector/imspector_acls.xml | 2 +- config/imspector/imspector_replacements.xml | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) (limited to 'config') diff --git a/config/imspector/imspector.inc b/config/imspector/imspector.inc index 7ade2e68..2d672e87 100644 --- a/config/imspector/imspector.inc +++ b/config/imspector/imspector.inc @@ -91,7 +91,7 @@ } } - function validate_form_imspector($post, $input_errors) { + function validate_form_imspector($post, &$input_errors) { if($post['iface_array']) foreach($post['iface_array'] as $iface) if($iface == 'wanx') diff --git a/config/imspector/imspector.xml b/config/imspector/imspector.xml index fad8d656..11d5e7ad 100644 --- a/config/imspector/imspector.xml +++ b/config/imspector/imspector.xml @@ -43,7 +43,7 @@ Describe your package requirements here Currently there are no FAQ items provided. imspector - 20111108 + 20111108_1 pkg v 0.3.2 Services: IMSpector Save /usr/local/pkg/imspector.inc @@ -239,7 +239,7 @@ - validate_form_imspector($_POST, &$input_errors); + validate_form_imspector($_POST, $input_errors); sync_package_imspector(); diff --git a/config/imspector/imspector_acls.xml b/config/imspector/imspector_acls.xml index a8aeecc9..79feb64e 100644 --- a/config/imspector/imspector_acls.xml +++ b/config/imspector/imspector_acls.xml @@ -161,7 +161,7 @@ - validate_form_imspector($_POST, &$input_errors); + validate_form_imspector($_POST, $input_errors); sync_package_imspector(); diff --git a/config/imspector/imspector_replacements.xml b/config/imspector/imspector_replacements.xml index 7f53bbd4..65e3d078 100644 --- a/config/imspector/imspector_replacements.xml +++ b/config/imspector/imspector_replacements.xml @@ -175,7 +175,7 @@ - validate_form_imspector($_POST, &$input_errors); + validate_form_imspector($_POST, $input_errors); sync_package_imspector(); -- cgit v1.2.3