mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-10 07:34:06 -08:00
Fixes format for users in category view
This commit is contained in:
parent
2b5fb04ba9
commit
845b182fdf
|
@ -356,7 +356,7 @@ class CategoriesController extends Controller
|
||||||
'model' => $asset->model->name,
|
'model' => $asset->model->name,
|
||||||
'asset_tag' => $asset->asset_tag,
|
'asset_tag' => $asset->asset_tag,
|
||||||
'serial' => $asset->serial,
|
'serial' => $asset->serial,
|
||||||
'assigned_to' => ($asset->assigneduser) ? link_to('/admin/users/'.$asset->assigneduser->id.'/view', $asset->assigneduser->fullName()): '',
|
'assigned_to' => ($asset->assigneduser) ? (string)link_to('/admin/users/'.$asset->assigneduser->id.'/view', $asset->assigneduser->fullName()): '',
|
||||||
'change' => $inout,
|
'change' => $inout,
|
||||||
'actions' => $actions,
|
'actions' => $actions,
|
||||||
'companyName' => Company::getName($asset),
|
'companyName' => Company::getName($asset),
|
||||||
|
|
Loading…
Reference in a new issue