fix for MDL-9268

This commit is contained in:
toyomoyo
2007-04-10 04:21:48 +00:00
parent d4c1b75664
commit cf4a318f80
+3 -1
View File
@@ -84,7 +84,9 @@ switch ($filtertype) {
if ($CFG->bloglevel < BLOG_GROUP_LEVEL) {
error('Group blogs is not enabled');
}
if (! $group = groups_get_group($groupid)) { //TODO:check.
// fix for MDL-9268
if (! $group = groups_get_group($filterselect)) { //TODO:check.
error('Incorrect group id specified');
}
if (!$course = get_record('course', 'id', $group->courseid)) {