diff options
author | Björn Schießle <schiessle@owncloud.com> | 2012-10-04 11:18:37 +0200 |
---|---|---|
committer | Björn Schießle <schiessle@owncloud.com> | 2012-10-04 11:18:37 +0200 |
commit | 16eade5a3b2c38d25dea16da027222cc122b5c6a (patch) | |
tree | dd45fb3922d0b22426da653b3dba237504c97ade /core | |
parent | 5c042d88ade9f3fbf599bd21defab322139d7cc0 (diff) | |
download | nextcloud-server-16eade5a3b2c38d25dea16da027222cc122b5c6a.tar.gz nextcloud-server-16eade5a3b2c38d25dea16da027222cc122b5c6a.zip |
share.expiration is null if no expiration date is set.
Diffstat (limited to 'core')
-rw-r--r-- | core/js/share.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/js/share.js b/core/js/share.js index 43688ba270e..75448bfe208 100644 --- a/core/js/share.js +++ b/core/js/share.js @@ -166,7 +166,7 @@ OC.Share={ OC.Share.addShareWith(share.share_type, share.share_with, share.permissions, possiblePermissions, false); } } - if (share.expiration.length > 0) { + if (share.expiration != null) { OC.Share.showExpirationDate(share.expiration); } }); |