Skip to content

Commit

Permalink
Merge pull request #407 from svpernova09/bug/500-error-when-viewing-a…
Browse files Browse the repository at this point in the history
…sset

Check if ->adminuser->id isset before trying to print the fullName so we...
  • Loading branch information
snipe committed Dec 3, 2014
2 parents 19189f6 + 0663ccb commit 31f77dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/backend/hardware/view.blade.php
Expand Up @@ -215,7 +215,7 @@
<tr>
<td>{{ $asset->created_at }}</td>
<td>
@if ($asset->adminuser->id) {{{ $asset->adminuser->fullName() }}}
@if (isset($asset->adminuser->id)) {{{ $asset->adminuser->fullName() }}}
@else
@lang('general.unknown_admin')
@endif
Expand Down

0 comments on commit 31f77dc

Please sign in to comment.