aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2014-05-09 14:16:29 -0400
committerjim-p <jimp@pfsense.org>2014-05-09 14:16:29 -0400
commit547c0359e269624884f702e06512d6755109d364 (patch)
tree99fb0f755bd218fb46b0f359ddee9be9c2b7957f /config
parentf05a0a012dba2a20392cc48225ca25c21debc5f7 (diff)
downloadpfsense-packages-547c0359e269624884f702e06512d6755109d364.tar.gz
pfsense-packages-547c0359e269624884f702e06512d6755109d364.tar.bz2
pfsense-packages-547c0359e269624884f702e06512d6755109d364.zip
Fix call-time pass-by-reference in imspector, bump
Diffstat (limited to 'config')
-rw-r--r--config/imspector/imspector.inc2
-rw-r--r--config/imspector/imspector.xml4
-rw-r--r--config/imspector/imspector_acls.xml2
-rw-r--r--config/imspector/imspector_replacements.xml2
4 files changed, 5 insertions, 5 deletions
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 @@
<requirements>Describe your package requirements here</requirements>
<faq>Currently there are no FAQ items provided.</faq>
<name>imspector</name>
- <version>20111108</version>
+ <version>20111108_1 pkg v 0.3.2</version>
<title>Services: IMSpector</title>
<savetext>Save</savetext>
<include_file>/usr/local/pkg/imspector.inc</include_file>
@@ -239,7 +239,7 @@
</field>
</fields>
<custom_php_validation_command>
- validate_form_imspector($_POST, &amp;$input_errors);
+ validate_form_imspector($_POST, $input_errors);
</custom_php_validation_command>
<custom_php_resync_config_command>
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 @@
</fields>
<custom_php_validation_command>
- validate_form_imspector($_POST, &amp;$input_errors);
+ validate_form_imspector($_POST, $input_errors);
</custom_php_validation_command>
<custom_php_resync_config_command>
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 @@
</field>
</fields>
<custom_php_validation_command>
- validate_form_imspector($_POST, &amp;$input_errors);
+ validate_form_imspector($_POST, $input_errors);
</custom_php_validation_command>
<custom_php_resync_config_command>
sync_package_imspector();