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,6 +57,12 @@ class Items
|
|||||||
|
|
||||||
$attributes = [];
|
$attributes = [];
|
||||||
foreach($node->xpath('attribute') as $attr) {
|
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;
|
$attributes[strtolower($attr->attributes()->key)] = (string)$attr->attributes()->value;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user