mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-16 01:24:38 +00:00
mvc: vim is doing strange things nowadays wanting tabs over spaces ;(
This commit is contained in:
parent
e7e955f573
commit
9e9971f464
@ -152,7 +152,7 @@ class Config extends Singleton
|
||||
if (!isset($result["${xmlNodeName}@attributes"])) {
|
||||
$result["${xmlNodeName}@attributes"] = [];
|
||||
}
|
||||
$result["${xmlNodeName}@attributes"][$AttrKey] = $AttrValue->__toString();
|
||||
$result["${xmlNodeName}@attributes"][$AttrKey] = $AttrValue->__toString();
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -213,7 +213,7 @@ class Config extends Singleton
|
||||
$node->addAttribute($attrKey, $attrValue);
|
||||
}
|
||||
continue;
|
||||
} elseif (strstr($itemKey , '@attributes') !== false) {
|
||||
} elseif (strstr($itemKey, '@attributes') !== false) {
|
||||
$origname = str_replace('@attributes', '', $itemKey);
|
||||
if (count($node->$origname)) {
|
||||
// copy xml attributes
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user