diff options
| author | Greg Roach <fisharebest@webtrees.net> | 2019-09-28 18:03:02 +0100 |
|---|---|---|
| committer | Greg Roach <fisharebest@webtrees.net> | 2019-09-28 18:04:35 +0100 |
| commit | 4c2683b463b58d9ffac5740966d569a3ba3c16e4 (patch) | |
| tree | 7ecc8e74a88a96b05eb586f5c48645c1a1aafa6e /app/Functions | |
| parent | 76fa3e5341b9fe32fba720f38aba95bcaede8130 (diff) | |
| download | webtrees-4c2683b463b58d9ffac5740966d569a3ba3c16e4.tar.gz webtrees-4c2683b463b58d9ffac5740966d569a3ba3c16e4.tar.bz2 webtrees-4c2683b463b58d9ffac5740966d569a3ba3c16e4.zip | |
Fix: default values for QUAY
Diffstat (limited to 'app/Functions')
| -rw-r--r-- | app/Functions/FunctionsEdit.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Functions/FunctionsEdit.php b/app/Functions/FunctionsEdit.php index 73e99b0ac6..4fa5d34bdf 100644 --- a/app/Functions/FunctionsEdit.php +++ b/app/Functions/FunctionsEdit.php @@ -509,7 +509,7 @@ class FunctionsEdit $html .= view('edit/input-addon-help', ['fact' => 'PLAC']); $html .= '</div>'; } elseif ($fact === 'QUAY') { - $html .= view('components/select', ['id' => $id, 'name' => $name, 'selected' => $value, 'options' => GedcomCodeQuay::getValues()]); + $html .= view('components/select', ['id' => $id, 'name' => $name, 'selected' => $value, 'options' => ['' => ''] + GedcomCodeQuay::getValues()]); } elseif ($fact === 'RELA') { $html .= view('components/select', ['id' => $id, 'name' => $name, 'selected' => $value, 'options' => self::optionsRelationships($value)]); } elseif ($fact === 'REPO') { |
