Skip to content
Browse files

Left out a line somehow!

  • Loading branch information...
1 parent debe10a commit fd56432d31027984d6b7826cb7aab9cd20fe8c57 moodler committed Apr 13, 2005
Showing with 1 addition and 0 deletions.
  1. +1 −0 mod/forum/post.php
View
1 mod/forum/post.php
@@ -202,6 +202,7 @@
if ($cm = get_coursemodule_from_instance("forum", $forum->id, $course->id)) {
if (groupmode($course, $cm) and !isteacheredit($course->id)) { // Make sure user can post here
+ $mygroupid = mygroupid($course->id);
if (!((empty($mygroupid) and $discussion->groupid == -1) || ($mygroupid == $discussion->groupid))) {
error("Sorry, but you can not post in this discussion.");
}

0 comments on commit fd56432

Please sign in to comment.
Something went wrong with that request. Please try again.