summaryrefslogtreecommitdiff
path: root/medialist.php
diff options
context:
space:
mode:
authorGreg Roach <fisharebest@gmail.com>2015-01-19 10:17:29 +0000
committerGreg Roach <fisharebest@gmail.com>2015-01-19 10:17:29 +0000
commit2533c395c454dc5cc367cafcaff986803af52f69 (patch)
treed9629c9759419e30c780ed377a3ccf1a876222c1 /medialist.php
parentf8cae3a24990cc76980ce84b0334fa73b7d366af (diff)
downloadwebtrees-2533c395c454dc5cc367cafcaff986803af52f69.tar.gz
webtrees-2533c395c454dc5cc367cafcaff986803af52f69.tar.bz2
webtrees-2533c395c454dc5cc367cafcaff986803af52f69.zip
HTML5
Diffstat (limited to 'medialist.php')
-rw-r--r--medialist.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/medialist.php b/medialist.php
index b35e048a68..c10bef2e27 100644
--- a/medialist.php
+++ b/medialist.php
@@ -106,7 +106,7 @@ $medialist = WT_Query_Media::mediaList(
<?php echo /* I18N: Label for check-box */ WT_I18N::translate('Include subfolders'); ?>
</td>
<td class="optionbox wrap width25">
- <input type="checkbox" id="subdirs" name="subdirs" <?php if (!$currentdironly) { ?>checked="checked"<?php } ?>>
+ <input type="checkbox" id="subdirs" name="subdirs" <?php echo $currentdironly ? '' : 'checked'; ?>>
</td>
<td class="descriptionbox wrap width25">
<?php echo WT_I18N::translate('Media objects per page'); ?>