Commit e8656061 authored by alaunois's avatar alaunois
Browse files

fix(conf) export broker conf when output ids are not consecutives (#11126)

* fix(conf) export broker conf when output ids are not consecutives

* fix indentation
parent 3c53e05c
......@@ -301,13 +301,13 @@ class Broker extends AbstractObjectJSON
}
// cast into arrays instead of objects with integer as key
$object[$key] = array_values($object[$key]);
foreach ($subValuesToCastInArray as $configGroupId => $subValues) {
foreach ($subValues as $subValue) {
$object[$key][$configGroupId][$subValue] =
array_values($object[$key][$configGroupId][$subValue]);
}
}
$object[$key] = array_values($object[$key]);
}
// Stats parameters
......
Supports Markdown
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