Skip to content

Commit

Permalink
Merge pull request #205 from EsupPortail/test
Browse files Browse the repository at this point in the history
Test
  • Loading branch information
dlemaignent authored Apr 7, 2022
2 parents dbea366 + a417d64 commit a838c11
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -610,7 +610,7 @@ public SignBook addDocsInNewSignBookSeparated(String title, String workflowName,
}
signBook = createSignBook(title, null, workflowName, authUser);
} else {
if(workflow.getCreateBy().equals(authUser)) {
if(workflow.getCreateBy().equals(authUser) && (title == null || title.isEmpty())) {
title = fileService.getNameOnly(multipartFiles[0].getOriginalFilename());
}
signBook = createSignBook(title, workflow, null, authUser);
Expand Down

0 comments on commit a838c11

Please sign in to comment.