aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/spamd/spamd.inc2
-rw-r--r--config/spamd/spamd_settings.xml4
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&amp;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, &amp;$input_errors);
+ spamd_validate_input($_POST, $input_errors);
</custom_php_validation_command>
<custom_php_resync_config_command>
sync_package_spamd();