diff --git a/resources/views/locations/print.blade.php b/resources/views/locations/print.blade.php index 9f54978ff5..a047f02279 100644 --- a/resources/views/locations/print.blade.php +++ b/resources/views/locations/print.blade.php @@ -126,7 +126,7 @@ @foreach ($assets as $asset) @php - if($snipeSettings->show_archived_in_list != 1 && $asset->assetstatus->archived == 1){ + if($snipeSettings->show_archived_in_list != 1 && $asset->assetstatus?->archived == 1){ continue; } @endphp