diff --git a/iped-engine/src/main/java/iped/engine/task/P2PBookmarker.java b/iped-engine/src/main/java/iped/engine/task/P2PBookmarker.java index 0491fb6247..9359344da1 100644 --- a/iped-engine/src/main/java/iped/engine/task/P2PBookmarker.java +++ b/iped-engine/src/main/java/iped/engine/task/P2PBookmarker.java @@ -167,11 +167,12 @@ public void createBookmarksForSharedFiles(File caseDir) { String source = doc.get(ExtraProperties.UFED_META_PREFIX + "Source"); //$NON-NLS-1$ if (source != null) bookmarkSufix = source; - String owner = doc.get(ExtraProperties.COMMUNICATION_OWNER); - if (owner != null && !owner.isEmpty()) - bookmarkSufix += " by " + owner; //$NON-NLS-1$ } + String owner = doc.get(ExtraProperties.COMMUNICATION_OWNER); + if (owner != null && !owner.isEmpty()) + bookmarkSufix += " by " + owner; //$NON-NLS-1$ + int labelId = ipedSrc.getBookmarks() .newBookmark(Messages.getString("P2PBookmarker.P2PBookmarkPrefix") + bookmarkSufix); //$NON-NLS-1$ if (program.color != null) {