diff --git a/mod/forum/lib.php b/mod/forum/lib.php index 375fd1ab005..e1d80791f94 100644 --- a/mod/forum/lib.php +++ b/mod/forum/lib.php @@ -4828,7 +4828,7 @@ function forum_user_can_post_discussion($forum, $currentgroup=null, $unused=-1, if (!has_capability($capname, $context)) { return false; } - + if ($forum->type == 'single') { return false; } @@ -8361,4 +8361,4 @@ function forum_get_posts_by_user($user, array $courses, $musthaveaccess = false, } return $return; -} \ No newline at end of file +}