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:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user