summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/js/sharedialoglinkshareview.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/js/sharedialoglinkshareview.js b/core/js/sharedialoglinkshareview.js
index 211d41b3b43..f2ecafc7b68 100644
--- a/core/js/sharedialoglinkshareview.js
+++ b/core/js/sharedialoglinkshareview.js
@@ -757,7 +757,7 @@
// disabled, let's hide the input and
// set the expireDate to nothing
$element.closest('li').next('li').addClass('hidden');
- this.setExpirationDate('');
+ this.setExpirationDate('', shareId);
} else {
// enabled, show the input and the datepicker
$element.closest('li').next('li').removeClass('hidden');