mirror of
https://github.com/slawkens/myaac.git
synced 2026-03-16 16:03:31 +01:00
Update Items.php
This commit is contained in:
@@ -57,13 +57,13 @@ class Items
|
||||
|
||||
$attributes = [];
|
||||
foreach($node->xpath('attribute') as $attr) {
|
||||
$attributes[strtolower($attr->attributes()->key)] = (string)$attr->attributes()->value;
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
return [
|
||||
|
||||
Reference in New Issue
Block a user