From: Alexander Ebert Date: Sun, 16 Oct 2016 13:33:24 +0000 (+0200) Subject: Added DOM helper method X-Git-Tag: 3.0.0_Beta_3~32 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=df0d9cf6fd448a88658685c21a919d3f78f689d3;p=GitHub%2FWoltLab%2FWCF.git Added DOM helper method --- diff --git a/wcfsetup/install/files/lib/util/DOMUtil.class.php b/wcfsetup/install/files/lib/util/DOMUtil.class.php index 21ac28d4d7..22f59845cc 100644 --- a/wcfsetup/install/files/lib/util/DOMUtil.class.php +++ b/wcfsetup/install/files/lib/util/DOMUtil.class.php @@ -1,5 +1,6 @@ getElementsByTagName($tagName) as $element) { + $elements[] = $element; + } + + return $elements; + } + /** * Returns the immediate parent element before provided ancestor element. Returns null if * the ancestor element is the direct parent of provided node.