From c6c75ae5466c3d1690d6973006bda7a2f77c167f Mon Sep 17 00:00:00 2001 From: jim-p Date: Wed, 7 May 2014 15:34:32 -0400 Subject: Fix a call-time pass-by-reference in ACB. Bump version. --- config/autoconfigbackup/autoconfigbackup.inc | 2 +- config/autoconfigbackup/autoconfigbackup.xml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'config') diff --git a/config/autoconfigbackup/autoconfigbackup.inc b/config/autoconfigbackup/autoconfigbackup.inc index 313cc1ac..f67191ae 100644 --- a/config/autoconfigbackup/autoconfigbackup.inc +++ b/config/autoconfigbackup/autoconfigbackup.inc @@ -40,7 +40,7 @@ if(file_exists("/usr/local/pkg/parse_config/parse_config_upload.php")) unlink("/usr/local/pkg/parse_config/parse_config_upload.php"); /* ensures patches match */ -function custom_php_validation_command($post, $input_errors) { +function custom_php_validation_command($post, &$input_errors) { global $_POST, $savemsg, $config; if($post['password'] <> $post['passwordagain']) diff --git a/config/autoconfigbackup/autoconfigbackup.xml b/config/autoconfigbackup/autoconfigbackup.xml index 0d324d8a..1e5d44c1 100644 --- a/config/autoconfigbackup/autoconfigbackup.xml +++ b/config/autoconfigbackup/autoconfigbackup.xml @@ -37,7 +37,7 @@ Automatically backs up your pfSense configuration. All contents are encrypted on the server. Requires Gold or Support Subscription from https://portal.pfsense.org pfSense Portal subscription AutoConfigBackup - 1.22 + 1.24 Diagnostics: Auto Configuration Backup Change /usr/local/pkg/autoconfigbackup.inc @@ -140,7 +140,7 @@ - custom_php_validation_command($_POST, &$input_errors); + custom_php_validation_command($_POST, $input_errors);