Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
MDL-21657 fixed regression in function call after its API change
The API of the function forum_print_posts_threaded() was changed in
63e8795 but this call was not updated.
This led to not displaying other replies when replying to a forum post.
  • Loading branch information
mudrd8mz committed Nov 15, 2010
1 parent 112fdf4 commit afe38b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mod/forum/post.php
Expand Up @@ -848,7 +848,7 @@
if ($forum->type != 'qanda' || forum_user_can_see_discussion($forum, $discussion, $modcontext)) {
$forumtracked = forum_tp_is_tracked($forum);
$posts = forum_get_all_discussion_posts($discussion->id, "created ASC", $forumtracked);
forum_print_posts_threaded($course, $cm, $forum, $discussion, $parent, 0, false, false, $forumtracked, $posts);
forum_print_posts_threaded($course, $cm, $forum, $discussion, $parent, 0, false, $forumtracked, $posts);
}
}
} else {
Expand Down

0 comments on commit afe38b7

Please sign in to comment.