Checks for false values inside get_value_as_html

This commit is contained in:
mateuswetah 2022-11-11 16:20:04 -03:00
parent 15d91aeed1
commit fddfc8addd
1 changed files with 3 additions and 0 deletions

View File

@ -148,6 +148,9 @@ class Item_Metadata_Entity extends Entity {
}
$value = $this->get_value();
if ($value === false)
return '';
$return = '';