From: toyomoyo Date: Tue, 10 Apr 2007 04:26:00 +0000 (+0000) Subject: merged fix for MDL-9268 X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=11993a60b021c14fd52eb97d824ffa5c5d670b52;p=moodle.git merged fix for MDL-9268 --- diff --git a/blog/index.php b/blog/index.php index 1120a0cc9a..aeea0c71df 100755 --- a/blog/index.php +++ b/blog/index.php @@ -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)) {