From 2e82fd38c113b8416f60a82465507a0e663cc523 Mon Sep 17 00:00:00 2001 From: moodler Date: Fri, 12 Dec 2003 08:20:45 +0000 Subject: [PATCH] This has been annoying me for ages, and the fix is so simple. When replying to a post that already has replies - the replies are listed in threaded form. --- mod/forum/post.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mod/forum/post.php b/mod/forum/post.php index 62ce936954..95581bc126 100644 --- a/mod/forum/post.php +++ b/mod/forum/post.php @@ -339,11 +339,13 @@ } - echo "
"; if (!empty($parent)) { forum_print_post($parent, $course->id, $ownpost=false, $reply=false, $link=false); + forum_print_posts_threaded($parent->id, $course, 0, false, false); + echo "
"; echo "

".get_string("yourreply", "forum").":

"; } else { + echo "
"; echo "

".get_string("yournewtopic", "forum")."

"; } if (!empty($post->error)) { -- 2.39.5