summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg Roach <fisharebest@gmail.com>2015-02-11 08:14:05 +0000
committerGreg Roach <fisharebest@gmail.com>2015-02-11 08:14:05 +0000
commiteb389f0e635ee64a93d76bc24311e8721a329042 (patch)
tree09bc8528cffd2c3275f97028501158438d827ae5
parentb12f83efaebc5ba7f504e60e7155e14f4844da8f (diff)
downloadwebtrees-eb389f0e635ee64a93d76bc24311e8721a329042.tar.gz
webtrees-eb389f0e635ee64a93d76bc24311e8721a329042.tar.bz2
webtrees-eb389f0e635ee64a93d76bc24311e8721a329042.zip
Coding style
-rw-r--r--admin_trees_manage.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/admin_trees_manage.php b/admin_trees_manage.php
index b3953f08e1..239e023ea8 100644
--- a/admin_trees_manage.php
+++ b/admin_trees_manage.php
@@ -252,14 +252,14 @@ case 'importform':
</legend>
<div class="col-sm-9">
<label>
- <input type="checkbox" name="keep_media" value="1" <?php if ($tree->getPreference('keep_media')) echo 'checked'; ?>>
+ <input type="checkbox" name="keep_media" value="1" <?php echo $tree->getPreference('keep_media') ? 'checked' : ''; ?>>
<?php echo /* I18N: A configuration setting */ I18N::translate('Keep media objects'); ?>
</label>
<p class="small text-muted">
<?php echo I18N::translate('If you have created media objects in webtrees, and have subsequently edited this GEDCOM file using genealogy software that deletes media objects, then select this option to merge the current media objects with the new GEDCOM file.'); ?>
</p>
<label>
- <input type="checkbox" name="WORD_WRAPPED_NOTES" value="1" <?php if ($tree->getPreference('WORD_WRAPPED_NOTES')) echo 'checked'; ?>>
+ <input type="checkbox" name="WORD_WRAPPED_NOTES" value="1" <?php echo $tree->getPreference('WORD_WRAPPED_NOTES') ? 'checked' : ''; ?>>
<?php echo I18N::translate('Add spaces where long lines were wrapped'); ?>
</label>
<p class="small text-muted">