diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2020-11-24 14:17:41 +0100 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2020-11-24 14:17:41 +0100 |
commit | 2526c5e042e7fb54e6d82d54bdbc78003eaa5cf8 (patch) | |
tree | 26e5177f362d25c141b18a10643a6cdb8658659e /apps/settings | |
parent | 8ac9767881afb186f2713532eabb014ade0f1b2f (diff) | |
download | nextcloud-server-2526c5e042e7fb54e6d82d54bdbc78003eaa5cf8.tar.gz nextcloud-server-2526c5e042e7fb54e6d82d54bdbc78003eaa5cf8.zip |
Fix the config key on the sharing expire checkbox
We don't use `shareapi_internal_enforce_expire_date` anywhere.
`shareapi_enforce_internal_expire_date` is the one we want.
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'apps/settings')
-rw-r--r-- | apps/settings/templates/settings/admin/sharing.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/settings/templates/settings/admin/sharing.php b/apps/settings/templates/settings/admin/sharing.php index 59915c581e7..9f651ce6d6c 100644 --- a/apps/settings/templates/settings/admin/sharing.php +++ b/apps/settings/templates/settings/admin/sharing.php @@ -56,7 +56,7 @@ <input type="text" name='shareapi_internal_expire_after_n_days' id="shareapiInternalExpireAfterNDays" placeholder="<?php p('7')?>" value='<?php p($_['shareInternalExpireAfterNDays']) ?>' /> <?php p($l->t('days')); ?> - <input type="checkbox" name="shareapi_internal_enforce_expire_date" id="shareapiInternalEnforceExpireDate" class="checkbox" + <input type="checkbox" name="shareapi_enforce_internal_expire_date" id="shareapiInternalEnforceExpireDate" class="checkbox" value="1" <?php if ($_['shareInternalEnforceExpireDate'] === 'yes') { print_unescaped('checked="checked"'); } ?> /> |