Possible fix for #4227

This commit is contained in:
snipe 2017-10-18 07:02:18 -07:00
parent 9e39abcc32
commit bd376a4992

View file

@ -76,7 +76,7 @@
@endif
</td>
<td>
@if ($licensedto->asset_id)
@if ($licensedto->asset)
@can('view', $licensedto->asset)
<a href="{{ route('hardware.show', $licensedto->asset_id) }}">
{{ $licensedto->asset->name }} {{ $licensedto->asset->asset_tag }}