Skip to content

Commit

Permalink
Scheduling Assistant: Build Schedule
Browse files Browse the repository at this point in the history
- fixed an null error when using as a guest and there is a course with Linked Classes distribution(s)
  • Loading branch information
tomas-muller committed Dec 3, 2024
1 parent c44033d commit af8817e
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ public boolean hasSection(Long sectionId) {
}

public boolean isViolated(XStudent student, OnlineSectioningServer server) {
if (student == null) return false;
int nrMatch = 0, nrMismatch = 0;
for (Long offeringId: getOfferingIds()) {
XOffering offering = server.getOffering(offeringId);
Expand Down

0 comments on commit af8817e

Please sign in to comment.