1
0
mirror of https://github.com/sismics/docs.git synced 2025-12-13 17:56:20 +00:00

Init share app, client refactoring

This commit is contained in:
jendib
2013-08-15 00:43:06 +02:00
parent ecb2afd628
commit ed85909d00
53 changed files with 377 additions and 133 deletions

View File

@@ -103,7 +103,7 @@ public class ShareDao {
// The share is linked to the document
if (shareId != null) {
Share share = getShare(shareId);
if (share.getDocumentId().equals(document.getId())) {
if (share != null && share.getDocumentId().equals(document.getId())) {
return true;
}
}