diff options
| author | Greg Roach <fisharebest@gmail.com> | 2015-02-11 08:14:05 +0000 |
|---|---|---|
| committer | Greg Roach <fisharebest@gmail.com> | 2015-02-11 08:14:05 +0000 |
| commit | eb389f0e635ee64a93d76bc24311e8721a329042 (patch) | |
| tree | 09bc8528cffd2c3275f97028501158438d827ae5 | |
| parent | b12f83efaebc5ba7f504e60e7155e14f4844da8f (diff) | |
| download | webtrees-eb389f0e635ee64a93d76bc24311e8721a329042.tar.gz webtrees-eb389f0e635ee64a93d76bc24311e8721a329042.tar.bz2 webtrees-eb389f0e635ee64a93d76bc24311e8721a329042.zip | |
Coding style
| -rw-r--r-- | admin_trees_manage.php | 4 |
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"> |
