mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Use array_flip even for the package parsers
This commit is contained in:
parent
1b34f8a73f
commit
1c62178aca
@ -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) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user