We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d2949ea commit 38b7b4bCopy full SHA for 38b7b4b
resources/views/admin/nodes/view/settings.blade.php
@@ -54,7 +54,7 @@
54
<div>
55
<select name="location_id" class="form-control">
56
@foreach($locations as $location)
57
- <option value="{{ $location->id }}" {{ (old('location_id', $node->location_id) === $location->id) ? 'selected' : '' }}>{{ $location->long }} ({{ $location->short }})</option>
+ <option value="{{ $location->id }}" {{ (((int) old('location_id', $node->location_id)) === $location->id) ? 'selected' : '' }}>{{ $location->long }} ({{ $location->short }})</option>
58
@endforeach
59
</select>
60
</div>
0 commit comments