Skip to content

Commit

Permalink
merged fix for MDL-9268
Browse files Browse the repository at this point in the history
  • Loading branch information
toyomoyo committed Apr 10, 2007
1 parent 4299da9 commit 11993a6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion blog/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,9 @@
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)) {
Expand Down

0 comments on commit 11993a6

Please sign in to comment.