diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-03-31 04:14:05 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-03-31 04:14:05 +0000 |
commit | 8602b9f62c42bc35b5aa7eac3465b3807808ce65 (patch) | |
tree | 32d02302de0083ede7be170ab8d0afafe357d199 /etc/inc | |
parent | 37d160c268b0585bc8f6f14efbc8becddb153e61 (diff) | |
download | pfsense-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.inc | 1 |
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; } |