Skip to content

Commit

Permalink
#398 Bug fix added
Browse files Browse the repository at this point in the history
unaibrrgn committed Apr 30, 2024
1 parent b1d5880 commit 692774c
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions sources/Re3gistry2/src/main/webapp/jsp/registryManager.jsp
Original file line number Diff line number Diff line change
@@ -227,18 +227,18 @@
boolean showChangesRequest = false;
// Check if the user is the owner of the action
if (Configuration.checkWorkflowSimplified()== false) {
}
if (tmp.getRegUser().getSsoreference().equals(regUser.getSsoreference())) {
if (tmp.getRegStatus().getLocalid().equals(BaseConstants.KEY_STATUS_LOCALID_DRAFT)) {
showSubmit = true;
}
if (tmp.getRegStatus().getLocalid().equals(BaseConstants.KEY_STATUS_LOCALID_DRAFT) && (tmp.getChangeRequest() != null && tmp.getChangeRequest().length() > 0)) {
showChangesRequest = true;
if (Configuration.checkWorkflowSimplified()== true) {
if (tmp.getRegUser().getSsoreference().equals(regUser.getSsoreference())) {
if (tmp.getRegStatus().getLocalid().equals(BaseConstants.KEY_STATUS_LOCALID_DRAFT)) {
showSubmit = true;
}
if (tmp.getRegStatus().getLocalid().equals(BaseConstants.KEY_STATUS_LOCALID_DRAFT) && (tmp.getChangeRequest() != null && tmp.getChangeRequest().length() > 0)) {
showChangesRequest = true;
}
}
}
// Checking the status of the action
boolean showActionPublish = false;

0 comments on commit 692774c

Please sign in to comment.