fix for MDL-9268
This commit is contained in:
+3
-1
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user