summaryrefslogtreecommitdiffstats
path: root/etc/inc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-03-31 04:14:05 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-03-31 04:14:05 +0000
commit8602b9f62c42bc35b5aa7eac3465b3807808ce65 (patch)
tree32d02302de0083ede7be170ab8d0afafe357d199 /etc/inc
parent37d160c268b0585bc8f6f14efbc8becddb153e61 (diff)
downloadpfsense-8602b9f62c42bc35b5aa7eac3465b3807808ce65.zip
pfsense-8602b9f62c42bc35b5aa7eac3465b3807808ce65.tar.gz
This file is eval'd. Correct its behavior.
Diffstat (limited to 'etc/inc')
-rw-r--r--etc/inc/pfsense-utils.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc
index 6989984..81ade46 100644
--- a/etc/inc/pfsense-utils.inc
+++ b/etc/inc/pfsense-utils.inc
@@ -758,6 +758,7 @@ function backup_config_section($section) {
$new_section = &$config[$section];
/* generate configuration XML */
$xmlconfig = dump_xml_config($new_section, $section);
+ $xmlconfig = str_replace("<?xml version=\"1.0\"?>", "", $xmlconfig);
return $xmlconfig;
}
OpenPOWER on IntegriCloud