mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-16 01:24:38 +00:00
sync with master
This commit is contained in:
parent
d3a1cfb87e
commit
4bc2eef495
@ -277,7 +277,12 @@ class Config extends Singleton
|
||||
}
|
||||
}
|
||||
foreach ($revision as $revKey => $revItem) {
|
||||
$childNode = $node->addChild($revKey);
|
||||
if (isset($node->{$revKey})) {
|
||||
// key already in revision object
|
||||
$childNode = $node->{$revKey};
|
||||
} else {
|
||||
$childNode = $node->addChild($revKey);
|
||||
}
|
||||
if (is_array($revItem)) {
|
||||
$this->updateRevision($revItem, $childNode);
|
||||
} else {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user