Skip to content
This repository has been archived by the owner on Oct 4, 2018. It is now read-only.

Commit

Permalink
fix wrong conflict resolution
Browse files Browse the repository at this point in the history
  • Loading branch information
MorrisJobke committed May 18, 2014
1 parent d273b55 commit f633fb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/js/share.js
Original file line number Diff line number Diff line change
Expand Up @@ -669,7 +669,7 @@ $(document).ready(function() {
if (this.checked) {
// Create a link
if (oc_appconfig.core.enforcePasswordForPublicLink === false) {
OC.Share.share(itemType, itemSource, OC.Share.SHARE_TYPE_LINK, '', OC.PERMISSION_READ, itemSourceName, function(data) {
OC.Share.share(itemType, itemSource, OC.Share.SHARE_TYPE_LINK, '', OC.PERMISSION_READ, itemSourceName, expirationDate, function(data) {
OC.Share.showLink(data.token, null, itemSource);
OC.Share.updateIcon(itemType, itemSource);
});
Expand Down

0 comments on commit f633fb5

Please sign in to comment.