From fc4ef705784c4be8042e1aebab7440b7e89dad3a Mon Sep 17 00:00:00 2001 From: Cyperghost Date: Mon, 22 Jan 2024 11:49:33 +0100 Subject: [PATCH] Allow non null values for element --- .../lib/system/html/input/node/HtmlInputNodeProcessor.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) { -- 2.20.1