summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--etc/inc/xmlparse.inc8
1 files changed, 4 insertions, 4 deletions
diff --git a/etc/inc/xmlparse.inc b/etc/inc/xmlparse.inc
index 098ed21..5eba494 100644
--- a/etc/inc/xmlparse.inc
+++ b/etc/inc/xmlparse.inc
@@ -145,7 +145,7 @@ function parse_xml_config($cffile, $rootobj, $isstring = "false") {
$listtags = listtags();
if (isset($GLOBALS['custom_listtags'])) {
foreach($GLOBALS['custom_listtags'] as $tag) {
- $listtags[] = $tag;
+ $listtags[$tag] = $tag;
}
}
return parse_xml_config_raw($cffile, $rootobj, $isstring);
@@ -156,7 +156,7 @@ function parse_xml_config_pkg($cffile, $rootobj, $isstring = "false") {
$listtags = listtags_pkg();
if (isset($GLOBALS['custom_listtags_pkg'])) {
foreach($GLOBALS['custom_listtags_pkg'] as $tag) {
- $listtags[] = $tag;
+ $listtags[$tag] = $tag;
}
}
$cfg =parse_xml_config_raw($cffile, $rootobj, $isstring);
@@ -294,7 +294,7 @@ function dump_xml_config($arr, $rootobj) {
$listtags = listtags();
if (isset($GLOBALS['custom_listtags'])) {
foreach($GLOBALS['custom_listtags'] as $tag) {
- $listtags[] = $tag;
+ $listtags[$tag] = $tag;
}
}
return dump_xml_config_raw($arr, $rootobj);
@@ -305,7 +305,7 @@ function dump_xml_config_pkg($arr, $rootobj) {
$listtags = listtags_pkg();
if (isset($GLOBALS['custom_listtags_pkg'])) {
foreach($GLOBALS['custom_listtags_pkg'] as $tag) {
- $listtags[] = $tag;
+ $listtags[$tag] = $tag;
}
}
return dump_xml_config_raw($arr, $rootobj);
OpenPOWER on IntegriCloud