From 3c8b7289d90fc89bc44ba4c23d15e9063e7089c5 Mon Sep 17 00:00:00 2001 From: toyomoyo Date: Fri, 3 Nov 2006 08:18:29 +0000 Subject: [PATCH] merged fox for MDL-7300, mssql error on group creation --- course/groups.php | 1 + 1 file changed, 1 insertion(+) diff --git a/course/groups.php b/course/groups.php index 208ee29c26c..c0ba9ba2c80 100644 --- a/course/groups.php +++ b/course/groups.php @@ -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'"); }