summaryrefslogtreecommitdiffstats
path: root/etc/inc/xmlparse.inc
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2014-03-14 17:47:03 -0300
committerRenato Botelho <garga@FreeBSD.org>2014-03-14 17:47:03 -0300
commitffd17097a7c559ce8737a55444f495ae940ec721 (patch)
tree8bba60821058a89e2225a4c7c6368646045d21d0 /etc/inc/xmlparse.inc
parent703b1ce1c5aeb05f34948624f5e47d6495d6bc6b (diff)
downloadpfsense-ffd17097a7c559ce8737a55444f495ae940ec721.zip
pfsense-ffd17097a7c559ce8737a55444f495ae940ec721.tar.gz
Unbreak listtags(), it should return regular array
Diffstat (limited to 'etc/inc/xmlparse.inc')
-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 96d5f60..1f35ffb 100644
--- a/etc/inc/xmlparse.inc
+++ b/etc/inc/xmlparse.inc
@@ -57,7 +57,7 @@ function listtags() {
'timerange', 'tunnel', 'user', 'vip', 'virtual_server', 'vlan',
'winsserver', 'wolentry', 'widget'
);
- return array_flip($ret);
+ return $ret;
}
/* Package XML tags that should be treat as a list not as a traditional array */
OpenPOWER on IntegriCloud