merged fix for MDL-9268

This commit is contained in:
toyomoyo 2007-04-10 04:26:00 +00:00
parent 4299da94a4
commit 11993a60b0

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)) {