From 039009046557e5efc331ed13bc1c40c12b58db23 Mon Sep 17 00:00:00 2001 From: Ermal Date: Fri, 14 Mar 2014 21:06:37 +0000 Subject: Make the Additional tags that may be supplied compliant with new schema --- etc/inc/xmlparse.inc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'etc') 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); -- cgit v1.1