fix: change get metadata type options

This commit is contained in:
vnmedeiros 2020-11-11 14:54:11 -03:00
parent e85d25f54b
commit 311730f090
1 changed files with 1 additions and 1 deletions

View File

@ -169,7 +169,7 @@ class Compound extends Metadata_Type {
public function get_value_as_html(Item_Metadata_Entity $item_metadata) { public function get_value_as_html(Item_Metadata_Entity $item_metadata) {
$value = $item_metadata->get_value(); $value = $item_metadata->get_value();
$separator = $item_metadata->get_multivalue_separator(); $separator = $item_metadata->get_multivalue_separator();
$options = $item_metadata->get_metadatum()->get_metadata_type_object()->get_options(); $options = $item_metadata->get_metadatum()->get_metadata_type_options();
$order = $options['children_order']; $order = $options['children_order'];
$return = ''; $return = '';