diff --git a/app/controllers/course/timesrooms.php b/app/controllers/course/timesrooms.php
index 2e3b3fefc7d128bde992eda58a29cbcd49934368..c2b51cd671a05c10895f0f561a60f72c7bba4d99 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();