Account for missing location
This commit is contained in:
parent
71d93ca3c3
commit
18b208bba2
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@
|
||||||
@if ($selected)
|
@if ($selected)
|
||||||
@foreach(Arr::wrap($selected) as $id)
|
@foreach(Arr::wrap($selected) as $id)
|
||||||
<option value="{{ $id }}" selected="selected" role="option" aria-selected="true" role="option">
|
<option value="{{ $id }}" selected="selected" role="option" aria-selected="true" role="option">
|
||||||
{{ (Location::find($id))->name }}
|
{{ optional(Location::find($id))->name }}
|
||||||
</option>
|
</option>
|
||||||
@endforeach
|
@endforeach
|
||||||
@endif
|
@endif
|
||||||
|
|
Loading…
Add table
Reference in a new issue