summaryrefslogtreecommitdiff
path: root/resources/views/modals/restriction-fields.phtml
diff options
context:
space:
mode:
authorGreg Roach <fisharebest@webtrees.net>2020-01-22 22:54:40 +0000
committerGreg Roach <fisharebest@webtrees.net>2020-01-22 22:54:51 +0000
commit027478c23a63b5681d8d4ac05fec614b75acb7ba (patch)
treeed1e66024ca65243464eaede51744457fd09fda6 /resources/views/modals/restriction-fields.phtml
parentd949cfcbdb2ef9f125c8827d213ee6bf84a3eb3f (diff)
downloadwebtrees-027478c23a63b5681d8d4ac05fec614b75acb7ba.tar.gz
webtrees-027478c23a63b5681d8d4ac05fec614b75acb7ba.tar.bz2
webtrees-027478c23a63b5681d8d4ac05fec614b75acb7ba.zip
HTML validation - empty <option></option> is not allowed
Diffstat (limited to 'resources/views/modals/restriction-fields.phtml')
-rw-r--r--resources/views/modals/restriction-fields.phtml4
1 files changed, 2 insertions, 2 deletions
diff --git a/resources/views/modals/restriction-fields.phtml b/resources/views/modals/restriction-fields.phtml
index 797a06f33e..5a2fccc204 100644
--- a/resources/views/modals/restriction-fields.phtml
+++ b/resources/views/modals/restriction-fields.phtml
@@ -10,7 +10,7 @@ use Fisharebest\Webtrees\I18N;
</label>
<div class="col-sm-4">
<select class="form-control" id="privacy-restriction" name="privacy-restriction">
- <option value=""></option>
+ <option value="">&nbsp;</option>
<option value="none">
<?= I18N::translate('Show to visitors') ?>
</option>
@@ -27,7 +27,7 @@ use Fisharebest\Webtrees\I18N;
</label>
<div class="col-sm-4">
<select class="form-control" id="edit-restriction" name="edit-restriction">
- <option value=""></option>
+ <option value="">&nbsp;</option>
<option value="locked">
<?= I18N::translate('Only managers can edit') ?>
</option>