diff options
author | Ermal <eri@pfsense.org> | 2014-03-20 19:28:07 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2014-03-20 19:28:07 +0000 |
commit | 1c62178aca4facecbde07623dfae0c61cc2fe632 (patch) | |
tree | a904c04336035897d05331c20ce717fab343a40a /etc | |
parent | 1b34f8a73f3e7996eb2650330df1a02ff703b175 (diff) | |
download | pfsense-1c62178aca4facecbde07623dfae0c61cc2fe632.zip pfsense-1c62178aca4facecbde07623dfae0c61cc2fe632.tar.gz |
Use array_flip even for the package parsers
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/xmlparse.inc | 2 |
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) { |