mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 12:40:01 +01:00
merged fix for MDL-9268
This commit is contained in:
parent
4299da94a4
commit
11993a60b0
@ -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)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user