diff options
author | Erik Fonnesbeck <efonnes@gmail.com> | 2010-03-01 15:46:54 -0700 |
---|---|---|
committer | Erik Fonnesbeck <efonnes@gmail.com> | 2010-03-01 15:46:54 -0700 |
commit | 1e52f18cc9bed60e0b2a4a475c4fd9c8832e7c34 (patch) | |
tree | ba1e3cad0503ba897828544476bd32d7e39a3218 /etc/inc/xmlparse.inc | |
parent | 306b8ff7297d63f68b4ddcc27d1527ca891a6f76 (diff) | |
parent | 0c1b9688b33959ab35f95cf02087ce2e427a1420 (diff) | |
download | pfsense-1e52f18cc9bed60e0b2a4a475c4fd9c8832e7c34.zip pfsense-1e52f18cc9bed60e0b2a4a475c4fd9c8832e7c34.tar.gz |
Merge commit 'mainline/master'
Diffstat (limited to 'etc/inc/xmlparse.inc')
-rw-r--r-- | etc/inc/xmlparse.inc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/etc/inc/xmlparse.inc b/etc/inc/xmlparse.inc index 23ae588..c9720c0 100644 --- a/etc/inc/xmlparse.inc +++ b/etc/inc/xmlparse.inc @@ -215,6 +215,10 @@ function dump_xml_config_sub($arr, $indent) { } } } + } else if (empty($val)) { + $xmlconfig .= str_repeat("\t", $indent); + $xmlconfig .= "<$ent/>\n"; + $xmlconfig .= str_repeat("\t", $indent); } else { /* it's an array */ $xmlconfig .= str_repeat("\t", $indent); |