From ffd17097a7c559ce8737a55444f495ae940ec721 Mon Sep 17 00:00:00 2001 From: Renato Botelho Date: Fri, 14 Mar 2014 17:47:03 -0300 Subject: Unbreak listtags(), it should return regular array --- 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 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 */ -- cgit v1.1