Permalink
Browse files

MDL-28981 fix forum_user_can_post() call params

  • Loading branch information...
1 parent 3c0b7e9 commit 9a529b0753a128d352f13cac9b5a333b1aff55da @skodak skodak committed with stronk7 Aug 21, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/forum/lib.php
View
@@ -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 9a529b0

Please sign in to comment.