Fixes format for users in category view

This commit is contained in:
snipe 2016-06-09 02:26:43 -07:00
parent 2b5fb04ba9
commit 845b182fdf

View file

@ -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),