MDL-12249 groups UI cleanup and improvements - see tracker for details; merged from MOODLE_19_STABLE

This commit is contained in:
skodak
2007-11-19 20:31:57 +00:00
parent b9ce88c74c
commit f16fa0a34b
16 changed files with 583 additions and 486 deletions
+1 -1
View File
@@ -47,7 +47,7 @@ class group_form extends moodleform {
$errors = array();
$name = stripslashes($data['name']);
$name = trim(stripslashes($data['name']));
if ($data['id'] and $group = get_record('groups', 'id', $data['id'])) {
if ($group->name != $name) {
if (groups_get_group_by_name($COURSE->id, $name)) {