From 04aedd8af97a2125f6deac773166d45c2983f45d Mon Sep 17 00:00:00 2001
From: Jan-Hendrik Willms <tleilax+github@gmail.com>
Date: Fri, 25 Oct 2024 08:50:54 +0200
Subject: [PATCH] fix typo in StudipStudyArea, re #4746

---
 lib/models/StudipStudyArea.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/models/StudipStudyArea.php b/lib/models/StudipStudyArea.php
index 8189907001a..d95fe059d2a 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";
-- 
GitLab