Skip to content

Commit

Permalink
delivery: Fix inverted hasAnyArchivedInstances check
Browse files Browse the repository at this point in the history
  • Loading branch information
ato committed Mar 14, 2024
1 parent 88162a2 commit d08c952
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/src/pandas/collection/Title.java
Original file line number Diff line number Diff line change
Expand Up @@ -872,7 +872,7 @@ public String getReasonNotDeliverable() {
getStatus().getId().equals(Status.REJECTED_ID) ||
getStatus().getId().equals(Status.MONITORED_ID))
return "Title status is " + getStatus().getName();
if (hasAnyArchivedInstances()) {
if (!hasAnyArchivedInstances()) {
return "Title has no archived instances";
}
if (getLegalDeposit())
Expand Down

0 comments on commit d08c952

Please sign in to comment.