Skip to content
This repository has been archived by the owner on Sep 28, 2021. It is now read-only.

Commit

Permalink
Actor name may be undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
oranges13 committed Dec 11, 2018
1 parent eca7e21 commit aaf5f13
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<td><a href="{{ url('/admin/players', $item->player->uuid) }}">{{ $item->player->name }}</a></td>
<td>{{ $item->server }}</td>
<td>{{ $item->reason }}</td>
<td>{{ $item->actor->name }}</td>
<td>{{ $item->actor->name ?? '' }}</td>
<td>{{ $item->expires->timestamp == 0 ? trans('app.never') : $item->expires->diffForHumans() }}</td>
<td>{{ $item->created_at->toDayDateTimeString() }}</td>
</tr>
Expand Down
2 changes: 1 addition & 1 deletion application/resources/views/admin/notes/index.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<td><a href="{{ url('/admin/players', $note->player->uuid) }}">{{ $note->player->name }}</a></td>
<td>{{ $note->server }}</td>
<td>{{ $note->message }}</td>
<td>{{ $note->actor->name }}</td>
<td>{{ $note->actor->name ?? '' }}</td>
<td>{{ $note->created_at->toDayDateTimeString() }}</td>
</tr>
@empty
Expand Down

0 comments on commit aaf5f13

Please sign in to comment.