Merge branch 'feature/572' of https://github.com/tainacan/tainacan into feature/572
This commit is contained in:
commit
e43747934c
|
@ -124,7 +124,7 @@ class Relationship extends Metadata_Type {
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
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>';
|
$options_as_html .= '<div class="value">' . $readable_option_value . '</div></div>';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue