Skip to content

Commit

Permalink
Display 0 value
Browse files Browse the repository at this point in the history
  • Loading branch information
Quy committed Apr 9, 2018
1 parent 15edb8d commit b430b9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/com_contact/layouts/fields/render.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
foreach ($fields as $field)
{
// If the value is empty do nothing
if (empty($field->value) && !$isMail)
if (!strlen($field->value) && !$isMail)
{
continue;
}
Expand Down

0 comments on commit b430b9d

Please sign in to comment.