aboutsummaryrefslogtreecommitdiffstats
path: root/config/autoconfigbackup
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2009-10-16 23:15:02 -0400
committerScott Ullrich <sullrich@pfsense.org>2009-10-16 23:15:02 -0400
commit5f5d373c816a1a801f77d0f1bbc9caa24cebebff (patch)
tree962cfd7b9954f0e8015fa5b234ced6825381422c /config/autoconfigbackup
parent61683b7d83f2c637cbbf6d12abd4448896f2b465 (diff)
downloadpfsense-packages-5f5d373c816a1a801f77d0f1bbc9caa24cebebff.tar.gz
pfsense-packages-5f5d373c816a1a801f77d0f1bbc9caa24cebebff.tar.bz2
pfsense-packages-5f5d373c816a1a801f77d0f1bbc9caa24cebebff.zip
Force item to string and crack the whip! Just whip it...Into shape.
Diffstat (limited to 'config/autoconfigbackup')
-rw-r--r--config/autoconfigbackup/autoconfigbackup.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/autoconfigbackup/autoconfigbackup.inc b/config/autoconfigbackup/autoconfigbackup.inc
index 2bd02769..52a68320 100644
--- a/config/autoconfigbackup/autoconfigbackup.inc
+++ b/config/autoconfigbackup/autoconfigbackup.inc
@@ -161,7 +161,7 @@ function upload_config($reasonm = "") {
tagfile_reformat($data, $data, "config.xml");
$post_fields = array(
- 'reason' => urlencode($reason),
+ 'reason' => urlencode((string)$reason),
'hostname' => urlencode($hostname),
'configxml' => urlencode($data),
'nooverwrite' => urlencode($nooverwrite),