Hide email address if there is no value

This commit is contained in:
snipe 2016-08-02 15:03:45 -07:00
parent e4355292e4
commit 098e7e4feb

View file

@ -287,7 +287,7 @@
<ul class="list-unstyled">
@if (isset($asset->assigneduser->email))
@if ((isset($asset->assigneduser->email)) && ($asset->assigneduser->email!=''))
<li><i class="fa fa-envelope-o"></i> <a href="mailto:{{ $asset->assigneduser->email }}">{{ $asset->assigneduser->email }}</a></li>
@endif