diff options
-rw-r--r-- | config/autoconfigbackup/autoconfigbackup.inc | 2 |
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), |