fixed null start date in moodle course
This commit is contained in:
parent
6de13b3635
commit
49d6938e0f
1 changed files with 1 additions and 1 deletions
|
@ -366,7 +366,7 @@ public class MoodleCourseDataAsyncLoader {
|
||||||
private Predicate<CourseDataShort> getCourseFilter() {
|
private Predicate<CourseDataShort> getCourseFilter() {
|
||||||
final long now = Utils.getSecondsNow();
|
final long now = Utils.getSecondsNow();
|
||||||
return course -> {
|
return course -> {
|
||||||
if (course.start_date < this.fromCutTime) {
|
if (course.start_date != null && course.start_date < this.fromCutTime) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue