diff --git a/app/controllers/course/grouping.php b/app/controllers/course/grouping.php index c28d71ae2b0c0e2a24206bcdb0618789d64d147f..2386a4d98d9dc47669c93ef9984a68b25a432f55 100644 --- a/app/controllers/course/grouping.php +++ b/app/controllers/course/grouping.php @@ -64,7 +64,7 @@ class Course_GroupingController extends AuthenticatedController return $i['Institut_id']; }, Institute::getMyInstitutes()), 'exclude' => [$this->course->parent_course ?: ''], - 'semesters' => [$this->start_semester->id], + 'semesters' => [$this->course->start_semester->id], ]; } else { $parameters = [