diff options
| author | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2022-10-14 12:22:08 +0000 |
|---|---|---|
| committer | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2022-10-14 12:22:08 +0000 |
| commit | 72cc118833474c15432806537011120a5f6e1d43 (patch) | |
| tree | c0415336016e848822a5cc19252812516c50401c /app/controllers/my_courses.php | |
| parent | 1d041d52a37cf4d2820965e741d7291f155f319f (diff) | |
ensure correct array encoding, fixes #1668
Closes #1668
Merge request studip/studip!1078
Diffstat (limited to 'app/controllers/my_courses.php')
| -rw-r--r-- | app/controllers/my_courses.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/my_courses.php b/app/controllers/my_courses.php index 3071e8c..45deae3 100644 --- a/app/controllers/my_courses.php +++ b/app/controllers/my_courses.php @@ -190,7 +190,7 @@ class MyCoursesController extends AuthenticatedController 'user_id' => $GLOBALS['user']->id, 'config' => [ 'allow_dozent_visibility' => Config::get()->ALLOW_DOZENT_VISIBILITY, - 'open_groups' => $GLOBALS['user']->cfg->MY_COURSES_OPEN_GROUPS, + 'open_groups' => array_values($GLOBALS['user']->cfg->MY_COURSES_OPEN_GROUPS), 'sem_number' => Config::get()->IMPORTANT_SEMNUMBER, 'display_type' => $GLOBALS['user']->cfg->MY_COURSES_TILED_DISPLAY ? 'tiles' : 'tables', 'responsive_type' => $GLOBALS['user']->cfg->MY_COURSES_TILED_DISPLAY_RESPONSIVE ? 'tiles' : 'tables', |
