Fixes format for users in category view
This commit is contained in:
parent
2b5fb04ba9
commit
845b182fdf
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue