Don't show replies when re-editing a post.
authormoodler <moodler>
Fri, 12 Dec 2003 08:46:24 +0000 (08:46 +0000)
committermoodler <moodler>
Fri, 12 Dec 2003 08:46:24 +0000 (08:46 +0000)
mod/forum/post.php

index 95581bc1266060bfed3e7a23edb7f5dd2a5dd75d..54cae5361d054c85ac3cd5ae3265d1d1f7548177 100644 (file)
 
     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 {