Merge branch 'feature/compount-metadata-type-refactor' of https://github.com/tainacan/tainacan into feature/compount-metadata-type-refactor

This commit is contained in:
mateuswetah 2020-03-19 12:12:50 -03:00
commit e5121e2da7
1 changed files with 1 additions and 1 deletions

View File

@ -107,7 +107,7 @@ class Compound extends Metadata_Type {
if ( $index !== false ) {
$options['children_objects'][$index] = $item_arr;
} else {
$children_not_ordinate['children_objects'][] = $item_arr;
$children_not_ordinate[] = $item_arr;
}
}
ksort( $options['children_objects'] );