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

re #328

parent 736bcffe
No related branches found
No related tags found
No related merge requests found
...@@ -23,7 +23,7 @@ final class FixMyCoursesGroupConfig extends Migration ...@@ -23,7 +23,7 @@ final class FixMyCoursesGroupConfig extends Migration
} }
if ($changed) { if ($changed) {
$value->value = json_encode($groups); $value->value = json_encode(array_values($groups));
$value->store(); $value->store();
} }
}, },
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment