Don't show replies when re-editing a post.

This commit is contained in:
moodler
2003-12-12 08:46:24 +00:00
parent 07bc723585
commit f8029045de
+3 -1
View File
@@ -341,7 +341,9 @@
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);
if (empty($post->edit)) {
forum_print_posts_threaded($parent->id, $course, 0, false, false);
}
echo "<center>";
echo "<H2>".get_string("yourreply", "forum").":</H2>";
} else {