mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
merged fox for MDL-7300, mssql error on group creation
This commit is contained in:
parent
45ff09e49c
commit
3c8b7289d9
@ -125,6 +125,7 @@
|
||||
$newgroup->courseid = $course->id;
|
||||
$newgroup->lang = current_language();
|
||||
$newgroup->timecreated = time();
|
||||
$newgroup->description = ''; // can not be null MDL-7300
|
||||
if (!insert_record("groups", $newgroup)) {
|
||||
notify("Could not insert the new group '$newgroup->name'");
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user