From: Cyperghost Date: Mon, 22 Jan 2024 10:49:33 +0000 (+0100) Subject: Allow non null values for element X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=fc4ef705784c4be8042e1aebab7440b7e89dad3a;p=GitHub%2FWoltLab%2FWCF.git Allow non null values for element --- diff --git a/wcfsetup/install/files/lib/system/html/input/node/HtmlInputNodeProcessor.class.php b/wcfsetup/install/files/lib/system/html/input/node/HtmlInputNodeProcessor.class.php index 1a23a38ff2..5b794e2b1e 100644 --- a/wcfsetup/install/files/lib/system/html/input/node/HtmlInputNodeProcessor.class.php +++ b/wcfsetup/install/files/lib/system/html/input/node/HtmlInputNodeProcessor.class.php @@ -849,7 +849,7 @@ class HtmlInputNodeProcessor extends AbstractHtmlNodeProcessor } } - private function getNonEmptyNode(?\DOMNode $element, string $property): ?\DOMNode + private function getNonEmptyNode(\DOMNode $element, string $property): ?\DOMNode { while ($element = $element->{$property}) { if (!DOMUtil::isEmpty($element)) {