Skip to content

A free open source IT asset/license management system

Fixed typo

snipecd9ea6ae3bb8
diff --git a/resources/views/locations/print.blade.php b/resources/views/locations/print.blade.php
index 1214ea0864..6f383468b2 100644
--- a/resources/views/locations/print.blade.php
+++ b/resources/views/locations/print.blade.php
@@ -142,7 +142,7 @@
<td>{{ (($asset->model) && ($asset->model->manufacturer)) ? $asset->model->manufacturer->name : '' }}</td>
<td>{{ ($asset->model) ? $asset->model->name : '' }}</td>
<td>{{ $asset->serial }}</td>
- <td>{{ ($asset->location->name) ? $asset->location->name : '' }}</td>
+ <td>{{ ($asset->location) ? $asset->location->name : '' }}</td>
<td>{{ \App\Helpers\Helper::getFormattedDateObject( $asset->last_checkout, 'datetime', false) }}</td>
<td>{{ \App\Helpers\Helper::getFormattedDateObject( $asset->expected_checkin, 'datetime', false) }}</td>
</tr>