share.expiration is null if no expiration date is set.
This commit is contained in:
parent
5c042d88ad
commit
16eade5a3b
|
@ -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);
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue