From b80d3ce50dfee33e3ebf6eb361c08397b1e7e564 Mon Sep 17 00:00:00 2001 From: snipe Date: Wed, 18 Oct 2017 00:36:52 -0700 Subject: [PATCH] Hopefully fixes #4218 --- resources/views/account/requestable-assets.blade.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/resources/views/account/requestable-assets.blade.php b/resources/views/account/requestable-assets.blade.php index 6d492fad86..430570dd50 100644 --- a/resources/views/account/requestable-assets.blade.php +++ b/resources/views/account/requestable-assets.blade.php @@ -60,7 +60,9 @@ {{ $asset->serial }} - {!! $asset->assetLoc->present()->nameUrl() !!} + @if ($asset->assetloc) + {!! $asset->assetloc->present()->nameUrl() !!} + @endif @if ($asset->assigned_to != '' && $asset->assigned_to > 0) Checked out