aboutsummaryrefslogtreecommitdiff
path: root/lib/classes/coursewizardsteps/LVGroupsWizardStep.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/classes/coursewizardsteps/LVGroupsWizardStep.php')
-rw-r--r--lib/classes/coursewizardsteps/LVGroupsWizardStep.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/classes/coursewizardsteps/LVGroupsWizardStep.php b/lib/classes/coursewizardsteps/LVGroupsWizardStep.php
index 99e5084..f5fca4d 100644
--- a/lib/classes/coursewizardsteps/LVGroupsWizardStep.php
+++ b/lib/classes/coursewizardsteps/LVGroupsWizardStep.php
@@ -261,8 +261,8 @@ class LVGroupsWizardStep implements CourseWizardStep
if (!in_array($modul->stat, $status_modul)) {
return false;
}
- $modul_start = Semester::find($modul->start)->beginn ?: 0;
- $modul_end = Semester::find($modul->end)->ende ?: PHP_INT_MAX;
+ $modul_start = Semester::find($modul->start)->beginn ?? 0;
+ $modul_end = Semester::find($modul->end)->ende ?? PHP_INT_MAX;
return ($modul_start <= $course_end && $modul_end >= $course_start);
});