Commit 4bc2eef4 authored by Ad Schellevis's avatar Ad Schellevis

sync with master

parent d3a1cfb8
......@@ -277,7 +277,12 @@ class Config extends Singleton
}
}
foreach ($revision as $revKey => $revItem) {
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 {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment