fix for MDL-7300, mssql query error on group creation
This commit is contained in:
@@ -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'");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user