projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
07bc723
)
Don't show replies when re-editing a post.
author
moodler
<moodler>
Fri, 12 Dec 2003 08:46:24 +0000
(08:46 +0000)
committer
moodler
<moodler>
Fri, 12 Dec 2003 08:46:24 +0000
(08:46 +0000)
mod/forum/post.php
patch
|
blob
|
history
diff --git
a/mod/forum/post.php
b/mod/forum/post.php
index 95581bc1266060bfed3e7a23edb7f5dd2a5dd75d..54cae5361d054c85ac3cd5ae3265d1d1f7548177 100644
(file)
--- a/
mod/forum/post.php
+++ b/
mod/forum/post.php
@@
-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 {