Skip to content

Commit

Permalink
Merge pull request AY2425S1-CS2103T-F15-2#58 from ethan-goh/refactor-…
Browse files Browse the repository at this point in the history
…edit-command

Minor bug fix to EditCommand
  • Loading branch information
ethan-goh authored Oct 15, 2024
2 parents 1f5c1c4 + 3c9e27e commit a7b2f02
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ public EditPersonDescriptor(EditPersonDescriptor toCopy) {
* Returns true if at least one field is edited.
*/
public boolean isAnyFieldEdited() {
return CollectionUtil.isAnyNonNull(name, phone, email, address, tag);
return CollectionUtil.isAnyNonNull(studentId, name, phone, email, address, course, tag);
}

public void setStudentId(StudentId studentId) {
Expand Down

0 comments on commit a7b2f02

Please sign in to comment.