diff --git a/src/views/admin/components/metadata-types/compound/class-tainacan-compound.php b/src/views/admin/components/metadata-types/compound/class-tainacan-compound.php index c2757a085..4c28953e9 100644 --- a/src/views/admin/components/metadata-types/compound/class-tainacan-compound.php +++ b/src/views/admin/components/metadata-types/compound/class-tainacan-compound.php @@ -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'] );