From b13b4acd7be6aef3cb5eed0f086b8cccb5bca21c Mon Sep 17 00:00:00 2001 From: jim-p Date: Fri, 9 May 2014 14:12:58 -0400 Subject: Fix call-time pass-by-reference in clamav (not used) --- config/archive/clamsmtp.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config/archive/clamsmtp.inc') diff --git a/config/archive/clamsmtp.inc b/config/archive/clamsmtp.inc index f23a35c1..cc16cf82 100644 --- a/config/archive/clamsmtp.inc +++ b/config/archive/clamsmtp.inc @@ -20,7 +20,7 @@ function clamsmtp_install_command() { clamsmtp_resync(); } -function clamsmtp_validate_input($post, $input_errors) { +function clamsmtp_validate_input($post, &$input_errors) { if (!is_ipaddr(trim($post['smtp_server']))) $input_errors[] = 'The field \'SMTP server\' must contain a valid IP address.'; $port = trim($post['smtp_port']); -- cgit v1.2.3