Fix filter tests

This commit is contained in:
Rodrigo Guimarães 2020-12-30 16:37:17 -03:00
parent e14d8489a1
commit 1ee639e0a7
1 changed files with 1 additions and 1 deletions

View File

@ -198,7 +198,7 @@ class REST_Item_Metadata_Controller extends REST_Controller {
$item_metadata = new Entities\Item_Metadata_Entity( $item, $metadatum, null, $parent_meta_id);
$value = $this->get_metadata_value($value);
$value = $this->get_metadata_value($item_metadata->is_multiple(), $value);
$item_metadata->set_value($value);
if ($item_metadata->validate()) {