fix for MDL-7300, mssql query error on group creation

This commit is contained in:
toyomoyo
2006-11-03 08:17:33 +00:00
parent 1576c4d233
commit e7fcbec49e
+1
View File
@@ -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'");
}