diff options
author | jim-p <jimp@pfsense.org> | 2014-05-07 16:13:05 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2014-05-07 16:13:05 -0400 |
commit | ad3fc2c1a0d5a809ff24e4e42c22824e87b6e462 (patch) | |
tree | 1d11acda835a8aa59d11eb874fe52fb0273ae220 /config | |
parent | 12b81ade21dbc5408f474ad925b2ced3f1090939 (diff) | |
download | pfsense-packages-ad3fc2c1a0d5a809ff24e4e42c22824e87b6e462.tar.gz pfsense-packages-ad3fc2c1a0d5a809ff24e4e42c22824e87b6e462.tar.bz2 pfsense-packages-ad3fc2c1a0d5a809ff24e4e42c22824e87b6e462.zip |
Fix call-time pass-by-reference in siproxd
Diffstat (limited to 'config')
-rw-r--r-- | config/siproxd.inc | 2 | ||||
-rw-r--r-- | config/siproxd.xml | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/config/siproxd.inc b/config/siproxd.inc index a34f5b34..7e72c868 100644 --- a/config/siproxd.inc +++ b/config/siproxd.inc @@ -270,7 +270,7 @@ function sync_package_siproxd() { } -function validate_form_siproxd($post, $input_errors) { +function validate_form_siproxd($post, &$input_errors) { if ($post['port'] && !is_port($post['port'])) $input_errors[] = 'Invalid port entered for "Listening Port"'; if ($post['rtplower'] && !is_port($post['rtplower'])) diff --git a/config/siproxd.xml b/config/siproxd.xml index d989f964..27d00f32 100644 --- a/config/siproxd.xml +++ b/config/siproxd.xml @@ -37,7 +37,7 @@ <requirements>Describe your package requirements here</requirements> <faq>Currently there are no FAQ items provided.</faq> <name>siproxdsettings</name> - <version>0.5.13_pfs2</version> + <version>0.8.0_2 pkg v1.0.1</version> <title>siproxd: Settings</title> <include_file>/usr/local/pkg/siproxd.inc</include_file> <aftersaveredirect>/pkg_edit.php?xml=siproxd.xml&id=0</aftersaveredirect> @@ -339,6 +339,6 @@ </custom_php_resync_config_command> <filter_rules_needed>siproxd_generate_rules</filter_rules_needed> <custom_php_validation_command> - validate_form_siproxd($_POST, &$input_errors); + validate_form_siproxd($_POST, $input_errors); </custom_php_validation_command> </packagegui> |