Skip to content

Commit 321d00c

Browse files
committed
Fix validation error when trying to save certain eggs, closes pterodactyl#829
1 parent b9d6745 commit 321d00c

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ This project follows [Semantic Versioning](http://semver.org) guidelines.
1212
* `[beta.2]` — Fixes bug that caused incorrect rendering of CPU usage on server graphs due to missing variable.
1313
* `[beta.2]` — Fixes bug causing schedules to be un-deletable.
1414
* `[beta.2]` — Fixes bug that prevented the deletion of nodes due to an allocation deletion cascade issue with the SQL schema.
15+
* `[beta.2]` — Fixes a bug causing eggs not extending other eggs to fail validation.
1516

1617
### Changed
1718
* Revoking the administrative status for an admin will revoke all authentication tokens currently assigned to their account.

resources/themes/pterodactyl/admin/eggs/new.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@
8383
<div class="form-group">
8484
<label for="pConfigFrom" class="form-label">Copy Settings From</label>
8585
<select name="config_from" id="pConfigFrom" class="form-control">
86-
<option value="0">None</option>
86+
<option value="">None</option>
8787
</select>
8888
<p class="text-muted small">If you would like to default to settings from another Egg select it from the dropdown above.</p>
8989
</div>

resources/themes/pterodactyl/admin/eggs/view.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@
125125
<div class="form-group">
126126
<label for="pConfigFrom" class="form-label">Copy Settings From</label>
127127
<select name="config_from" id="pConfigFrom" class="form-control">
128-
<option value="0">None</option>
128+
<option value="">None</option>
129129
@foreach($egg->nest->eggs as $o)
130130
<option value="{{ $o->id }}" {{ ($egg->config_from !== $o->id) ?: 'selected' }}>{{ $o->name }} &lt;{{ $o->author }}&gt;</option>
131131
@endforeach

0 commit comments

Comments
 (0)