Skip to content

Commit 5d85f20

Browse files
Update templates/admin.php
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent fc2d157 commit 5d85f20

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

templates/admin.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,11 +72,11 @@
7272
</tr>
7373
<tr class="cache">
7474
<td><div title="<?php p($l->t('If this option is disabled, each file is always scanned again and no results are cached.'));?>" class="visible"><label for="cache"><?php p($l->t('Cache'));?></label></div></td>
75-
<td class="input_field"><input id="cache" type="checkbox" name="cache"/></td>
75+
<td class="input_field"><input id="cache" type="checkbox" name="cache" <?php if ($_['cache']) { p('checked'); } ?>/></td>
7676
</tr>
7777
<tr class="hashlookup">
7878
<td><div title="<?php p($l->t('During a hash lookup, the SHA256 checksum is transmitted to the G DATA Cloud before the scan to check whether a result is already available, thereby saving unnecessary network traffic, resource load, and time.'));?>" class="visible"><label for="hashlookup"><?php p($l->t('Hash lookup'));?></label></div></td>
79-
<td class="input_field"><input id="hashlookup" type="checkbox" name="hashlookup"/></td>
79+
<td class="input_field"><input id="hashlookup" type="checkbox" name="hashlookup" <?php if ($_['hashlookup']) { p('checked'); } ?>/></td>
8080
</tr>
8181
</table>
8282
<input class="submit-button" id="auth_submit" type="submit" value="<?php p($l->t('Save'));?>" />

0 commit comments

Comments
 (0)