Skip to content

Commit 410a0cc

Browse files
committed
Fix 'Copy Script From' setting
1 parent c3a69fc commit 410a0cc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ This project follows [Semantic Versioning](http://semver.org) guidelines.
99
* `[beta.3]` — Fixes an edge case caused by the Laravel 5.5 upgrade that would try to perform an in_array check aganist a null value.
1010
* `[beta.3]` — Fixes a bug that would cause an error when attempting to create a new user on the Panel.
1111
* `[beta.3]` — Fixes error handling of the settings service provider when no migrations have been run.
12-
12+
* `[beta.3]` — Fixes validation error when trying to use 'None' as the 'Copy Script From' option for an egg script.
1313
### Added
1414
* Nest and Egg listings now show the associated ID in order to make API requests easier.
1515

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
<div class="form-group col-sm-4">
5454
<label class="control-label">Copy Script From</label>
5555
<select id="pCopyScriptFrom" name="copy_script_from">
56-
<option value="0">None</option>
56+
<option value="">None</option>
5757
@foreach($copyFromOptions as $opt)
5858
<option value="{{ $opt->id }}" {{ $egg->copy_script_from !== $opt->id ?: 'selected' }}>{{ $opt->name }}</option>
5959
@endforeach

0 commit comments

Comments
 (0)