Skip to content
Snippets Groups Projects
Commit 72cc1188 authored by Jan-Hendrik Willms's avatar Jan-Hendrik Willms
Browse files

ensure correct array encoding, fixes #1668

Closes #1668

Merge request studip/studip!1078
parent 1d041d52
No related branches found
No related tags found
No related merge requests found
......@@ -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',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment