From 1c62178aca4facecbde07623dfae0c61cc2fe632 Mon Sep 17 00:00:00 2001 From: Ermal Date: Thu, 20 Mar 2014 19:28:07 +0000 Subject: [PATCH] Use array_flip even for the package parsers --- etc/inc/xmlparse.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/inc/xmlparse.inc b/etc/inc/xmlparse.inc index 5eba494358..3b32719846 100644 --- a/etc/inc/xmlparse.inc +++ b/etc/inc/xmlparse.inc @@ -64,7 +64,7 @@ function listtags() { function listtags_pkg() { $ret = array('build_port_path', 'depends_on_package', 'onetoone', 'queue', 'rule', 'servernat', 'alias', 'additional_files_needed', 'tab', 'template', 'menu', 'rowhelperfield', 'service', 'step', 'package', 'columnitem', 'option', 'item', 'field', 'package', 'file'); - return $ret; + return array_flip($ret); } function startElement($parser, $name, $attrs) {