Fixed incorrect property on supplier

This commit is contained in:
snipe 2017-12-04 20:45:20 -08:00
parent 174e3e720a
commit d7f2bceea2

View file

@ -645,7 +645,7 @@ class ReportsController extends Controller
}
if ($request->has('supplier')) {
$row[] = ($asset->location) ? $asset->supplier->name : '';
$row[] = ($asset->supplier) ? $asset->supplier->name : '';
}