From 02ce6b364b364d8a8504ef6eeace767488e01d9e Mon Sep 17 00:00:00 2001 From: slawkens Date: Sat, 7 Mar 2026 21:09:57 +0100 Subject: [PATCH] Update Items.php --- system/src/Server/XML/Items.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/system/src/Server/XML/Items.php b/system/src/Server/XML/Items.php index 8a84cf62..5f227e83 100644 --- a/system/src/Server/XML/Items.php +++ b/system/src/Server/XML/Items.php @@ -57,6 +57,12 @@ class Items $attributes = []; foreach($node->xpath('attribute') as $attr) { + if ($attr->xpath('attribute')) { + foreach($attr->xpath('attribute') as $attr2) { + $attributes[strtolower($attr2->attributes()->key)] = (string)$attr2->attributes()->value; + } + } + $attributes[strtolower($attr->attributes()->key)] = (string)$attr->attributes()->value; }