aboutsummaryrefslogtreecommitdiffstats
path: root/config/autoconfigbackup
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2014-05-07 15:34:32 -0400
committerjim-p <jimp@pfsense.org>2014-05-07 15:34:32 -0400
commitc6c75ae5466c3d1690d6973006bda7a2f77c167f (patch)
tree7b935b6d30bc9d779bd03b9204a8bb4f9d8433fe /config/autoconfigbackup
parent85254446a1d482496a2b619d028533e885ca77e6 (diff)
downloadpfsense-packages-c6c75ae5466c3d1690d6973006bda7a2f77c167f.tar.gz
pfsense-packages-c6c75ae5466c3d1690d6973006bda7a2f77c167f.tar.bz2
pfsense-packages-c6c75ae5466c3d1690d6973006bda7a2f77c167f.zip
Fix a call-time pass-by-reference in ACB. Bump version.
Diffstat (limited to 'config/autoconfigbackup')
-rw-r--r--config/autoconfigbackup/autoconfigbackup.inc2
-rw-r--r--config/autoconfigbackup/autoconfigbackup.xml4
2 files changed, 3 insertions, 3 deletions
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 @@
<description>Automatically backs up your pfSense configuration. All contents are encrypted on the server. Requires Gold or Support Subscription from https://portal.pfsense.org</description>
<requirements>pfSense Portal subscription</requirements>
<name>AutoConfigBackup</name>
- <version>1.22</version>
+ <version>1.24</version>
<title>Diagnostics: Auto Configuration Backup</title>
<savetext>Change</savetext>
<include_file>/usr/local/pkg/autoconfigbackup.inc</include_file>
@@ -140,7 +140,7 @@
</field>
</fields>
<custom_php_validation_command>
- custom_php_validation_command($_POST, &amp;$input_errors);
+ custom_php_validation_command($_POST, $input_errors);
</custom_php_validation_command>
<custom_php_resync_config_command>
<![CDATA[