From 1d4b895614b279345659592ff7c808a3ce045946 Mon Sep 17 00:00:00 2001 From: jim-p Date: Fri, 9 May 2014 14:24:49 -0400 Subject: Fix call-time pass-by-reference in spamd, bump --- config/spamd/spamd.inc | 2 +- config/spamd/spamd_settings.xml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'config/spamd') 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 @@ Describe your package requirements here Currently there are no FAQ items provided. spamdsettings - 0.1.0 + 1.1.1 SpamD Settings pkg_edit.php?xml=spamd_settings.xml&id=0 /usr/local/pkg/spamd.inc @@ -185,7 +185,7 @@ - spamd_validate_input($_POST, &$input_errors); + spamd_validate_input($_POST, $input_errors); sync_package_spamd(); -- cgit v1.2.3