summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorGreg Roach <fisharebest@gmail.com>2015-01-21 10:42:08 +0000
committerGreg Roach <fisharebest@gmail.com>2015-01-21 10:42:08 +0000
commitaec3a9bd9fa970c4f601483d393811fd2d21a960 (patch)
tree41ec4e1e2cb4ba63331e2cbcb32f4db9d2c498f3 /includes
parentdb1b077b124ff56768514898e664eb1dd7849b81 (diff)
downloadwebtrees-aec3a9bd9fa970c4f601483d393811fd2d21a960.tar.gz
webtrees-aec3a9bd9fa970c4f601483d393811fd2d21a960.tar.bz2
webtrees-aec3a9bd9fa970c4f601483d393811fd2d21a960.zip
Default settings on new blocks inconsistent, both yes/no radio buttons empty
Diffstat (limited to 'includes')
-rw-r--r--includes/functions/functions_edit.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/functions/functions_edit.php b/includes/functions/functions_edit.php
index a26bc7d36b..582da7b97a 100644
--- a/includes/functions/functions_edit.php
+++ b/includes/functions/functions_edit.php
@@ -98,7 +98,7 @@ function radio_buttons($name, $values, $selected, $extra = '') {
*/
function edit_field_yes_no($name, $selected = false) {
return radio_buttons(
- $name, array(false=>WT_I18N::translate('no'), true=>WT_I18N::translate('yes')), $selected
+ $name, array(WT_I18N::translate('no'), WT_I18N::translate('yes')), $selected
);
}