diff --git a/lib/models/StudipStudyArea.php b/lib/models/StudipStudyArea.php index 8189907001a3693dead7caa190bdca4141a3bf5f..d95fe059d2aa0976d8009f7932258d2dc6df1fe8 100644 --- a/lib/models/StudipStudyArea.php +++ b/lib/models/StudipStudyArea.php @@ -566,7 +566,7 @@ class StudipStudyArea extends SimpleORMap implements StudipTreeNode LEFT JOIN `semester_data` sd USING (`semester_id`) WHERE sc.`semester_id` = :semester"; $parameters = ['semester' => $semester_id]; - $order_by = 'sd.`beginn`'; + $order_by[] = 'sd.`beginn`'; } else { $query .= " JOIN `seminare` s ON (s.`Seminar_id` = t.`seminar_id`) WHERE 1";