diff options
author | jim-p <jimp@pfsense.org> | 2014-05-09 14:24:49 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2014-05-09 14:24:49 -0400 |
commit | 1d4b895614b279345659592ff7c808a3ce045946 (patch) | |
tree | 59b6df5f7d62415451f2b9a5eeff1cf3ee7ae716 /config | |
parent | a890380266da7f589b809701bd3d0e8ac715e82f (diff) | |
download | pfsense-packages-1d4b895614b279345659592ff7c808a3ce045946.tar.gz pfsense-packages-1d4b895614b279345659592ff7c808a3ce045946.tar.bz2 pfsense-packages-1d4b895614b279345659592ff7c808a3ce045946.zip |
Fix call-time pass-by-reference in spamd, bump
Diffstat (limited to 'config')
-rw-r--r-- | config/spamd/spamd.inc | 2 | ||||
-rw-r--r-- | config/spamd/spamd_settings.xml | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/config/spamd/spamd.inc b/config/spamd/spamd.inc index 18b4e241..0bd29bd8 100644 --- a/config/spamd/spamd.inc +++ b/config/spamd/spamd.inc @@ -324,7 +324,7 @@ function spamd_install_cron($should_install) { } } -function spamd_validate_input($post, $input_errors) { +function spamd_validate_input($post, &$input_errors) { global $config, $g; $nextmta = str_replace("$", "", $post['nextmta']); if(stristr($nextmta, "{")) { diff --git a/config/spamd/spamd_settings.xml b/config/spamd/spamd_settings.xml index 2607e87f..7ed4c572 100644 --- a/config/spamd/spamd_settings.xml +++ b/config/spamd/spamd_settings.xml @@ -42,7 +42,7 @@ <requirements>Describe your package requirements here</requirements> <faq>Currently there are no FAQ items provided.</faq> <name>spamdsettings</name> - <version>0.1.0</version> + <version>1.1.1</version> <title>SpamD Settings</title> <aftersaveredirect>pkg_edit.php?xml=spamd_settings.xml&id=0</aftersaveredirect> <include_file>/usr/local/pkg/spamd.inc</include_file> @@ -185,7 +185,7 @@ </field> </fields> <custom_php_validation_command> - spamd_validate_input($_POST, &$input_errors); + spamd_validate_input($_POST, $input_errors); </custom_php_validation_command> <custom_php_resync_config_command> sync_package_spamd(); |