summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2014-03-20 19:28:07 +0000
committerErmal <eri@pfsense.org>2014-03-20 19:28:07 +0000
commit1c62178aca4facecbde07623dfae0c61cc2fe632 (patch)
treea904c04336035897d05331c20ce717fab343a40a /etc
parent1b34f8a73f3e7996eb2650330df1a02ff703b175 (diff)
downloadpfsense-1c62178aca4facecbde07623dfae0c61cc2fe632.zip
pfsense-1c62178aca4facecbde07623dfae0c61cc2fe632.tar.gz
Use array_flip even for the package parsers
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/xmlparse.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/xmlparse.inc b/etc/inc/xmlparse.inc
index 5eba494..3b32719 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) {
OpenPOWER on IntegriCloud