Skip to content
Snippets Groups Projects
Commit f17f221c authored by Elmar Ludwig's avatar Elmar Ludwig
Browse files

really update broken user config values, re #328

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