Skip to content

Commit

Permalink
Fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
currynia committed Nov 8, 2024
1 parent a42de12 commit 4470ec4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public PredefinedAssignmentsData toModelType() throws IllegalValueException {
}

private boolean isFieldNull(JsonAdaptedPredefinedAssignment assignment) {
return assignment.getName() == null && assignment.getMaxScore() == null;
return assignment.getName() == null || assignment.getMaxScore() == null;
}

@Override
Expand Down

0 comments on commit 4470ec4

Please sign in to comment.