fix broken tests #17
This commit is contained in:
parent
a44ac4a607
commit
3bc72a6fbd
|
@ -179,12 +179,12 @@ class Item_Metadata_Entity extends Entity {
|
||||||
$primitive_type = $this->get_metadatum()->get_metadata_type_object()->get_primitive_type();
|
$primitive_type = $this->get_metadatum()->get_metadata_type_object()->get_primitive_type();
|
||||||
|
|
||||||
if ( $this->is_multiple() ) {
|
if ( $this->is_multiple() ) {
|
||||||
$options = $this->get_metadatum()->get_metadata_type_object()->get_options();
|
|
||||||
$order = $options['children_order'];
|
|
||||||
$return = [];
|
$return = [];
|
||||||
|
|
||||||
foreach ($value as $v) {
|
foreach ($value as $v) {
|
||||||
if( is_array($v) ) {
|
if( is_array($v) ) {
|
||||||
|
$options = $this->get_metadatum()->get_metadata_type_object()->get_options();
|
||||||
|
$order = $options['children_order'];
|
||||||
$compounds = [];
|
$compounds = [];
|
||||||
$compounds_not_ordinate = [];
|
$compounds_not_ordinate = [];
|
||||||
foreach ($v as $metadatum_id => $itemMetadata) {
|
foreach ($v as $metadatum_id => $itemMetadata) {
|
||||||
|
|
Loading…
Reference in New Issue