Skip to content

Commit

Permalink
Merge pull request #30787 from owncloud/fix_sharing_checkbox_stable10
Browse files Browse the repository at this point in the history
[stable10] Fix checkbox check
  • Loading branch information
Vincent Petry authored Mar 19, 2018
2 parents f2c5731 + 7967b96 commit 2bbc77b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion settings/templates/panels/admin/filesharing.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<label for="allowPublicUpload"><?php p($l->t('Allow public uploads'));?></label><br/>

<input type="checkbox" name="shareapi_enforce_links_password_read_only" id="enforceLinkPasswordReadOnly" class="checkbox"
value="1" <?php if ($_['enforceLinkPasswordReadOnly']) print_unescaped('checked="checked"'); ?> />
value="1" <?php if ($_['enforceLinkPasswordReadOnly'] === 'yes') print_unescaped('checked="checked"'); ?> />
<label for="enforceLinkPasswordReadOnly"><?php p($l->t('Enforce password protection for read-only links'));?></label><br/>

<input type="checkbox" name="shareapi_enforce_links_password_read_write" id="enforceLinkPasswordReadWrite" class="checkbox"
Expand Down

0 comments on commit 2bbc77b

Please sign in to comment.