Merge branch 'feature/572' of https://github.com/tainacan/tainacan into feature/572

This commit is contained in:
mateuswetah 2021-08-17 16:05:53 -03:00
commit e43747934c
1 changed files with 1 additions and 1 deletions

View File

@ -124,7 +124,7 @@ class Relationship extends Metadata_Type {
break;
default:
$readable_option_value = $option_value;
$readable_option_value = is_string($option_value) ? $option_value : json_encode($option_value);
}
$options_as_html .= '<div class="value">' . $readable_option_value . '</div></div>';
}