From e3a70de2c4d1db02e4430f83ed2f301a109c8afb Mon Sep 17 00:00:00 2001
From: Thomas Hackl <hackl@data-quest.de>
Date: Thu, 11 Apr 2024 07:32:36 +0000
Subject: [PATCH] =?UTF-8?q?Resolve=20"Nachtr=C3=A4gliche=20Gruppenzuweisun?=
 =?UTF-8?q?g=20zu=20einem=20Termin=20wird=20nicht=20=C3=BCbernommen"?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Closes #3995

Merge request studip/studip!2845
---
 app/controllers/course/timesrooms.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app/controllers/course/timesrooms.php b/app/controllers/course/timesrooms.php
index 2e3b3fefc7d..c2b51cd671a 100644
--- a/app/controllers/course/timesrooms.php
+++ b/app/controllers/course/timesrooms.php
@@ -439,7 +439,7 @@ class Course_TimesroomsController extends AuthenticatedController
         }
 
         // Set assigned groups
-        $assigned_groups       = Request::optionArray('assigned_groups');
+        $assigned_groups       = Request::optionArray('assigned-groups');
         $termin->statusgruppen = Statusgruppen::findMany($assigned_groups);
 
         $termin->store();
-- 
GitLab