Skip to content

Commit

Permalink
Editing teachers can always get into forums
Browse files Browse the repository at this point in the history
  • Loading branch information
moodler committed Jan 17, 2004
1 parent eef1611 commit a33ba13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mod/forum/view.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
$groupmode = groupmode($course, $cm); // Groups are being used
$currentgroup = get_and_set_current_group($course, $groupmode, $_GET['group']);

if ($groupmode and !$currentgroup) {
if (!isteacheredit($course->id) and $groupmode and !$currentgroup) {
print_heading("Sorry, but you need to be part of a group to see this forum.");
print_footer();
exit;
Expand Down

0 comments on commit a33ba13

Please sign in to comment.