mirror of
https://github.com/pterodactyl/panel.git
synced 2024-11-25 10:32:31 +01:00
fix: nullable egg features (#5135)
This commit is contained in:
parent
8ae76c3889
commit
2dcd39c9c7
@ -118,7 +118,7 @@
|
||||
<label for="pConfigFeatures" class="control-label">Features</label>
|
||||
<div>
|
||||
<select class="form-control" name="features[]" id="pConfigFeatures" multiple>
|
||||
@foreach($egg->features as $feature)
|
||||
@foreach(($egg->features ?? []) as $feature)
|
||||
<option value="{{ $feature }}" selected>{{ $feature }}</option>
|
||||
@endforeach
|
||||
</select>
|
||||
|
Loading…
Reference in New Issue
Block a user