Skip to content
Browse files

MDL-28981 fix forum_user_can_post() call params

  • Loading branch information...
1 parent a3ad8fd commit b13eda7e8dc21f69d5866e5115d283badfe68202 @skodak skodak committed with stronk7 Aug 21, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/forum/lib.php
View
2 mod/forum/lib.php
@@ -1060,7 +1060,7 @@ function forum_make_mail_html($course, $cm, $forum, $discussion, $post, $userfro
}
if (!isset($userto->canpost[$discussion->id])) {
- $canreply = forum_user_can_post($forum, $discussion, $userto);
+ $canreply = forum_user_can_post($forum, $discussion, $userto, $cm, $course);
} else {
$canreply = $userto->canpost[$discussion->id];
}

0 comments on commit b13eda7

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