mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-25 05:34:06 -08:00
Fixed incorrect property on supplier
This commit is contained in:
parent
174e3e720a
commit
d7f2bceea2
|
@ -645,7 +645,7 @@ class ReportsController extends Controller
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($request->has('supplier')) {
|
if ($request->has('supplier')) {
|
||||||
$row[] = ($asset->location) ? $asset->supplier->name : '';
|
$row[] = ($asset->supplier) ? $asset->supplier->name : '';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue