From 9f0b8269ac0096a6174dab2a71bc5240b22ec13e Mon Sep 17 00:00:00 2001 From: moodler Date: Sun, 4 May 2003 03:43:46 +0000 Subject: [PATCH] Fixed bug where text format of a new discussion was not being saved --- mod/forum/lib.php | 1 + 1 file changed, 1 insertion(+) diff --git a/mod/forum/lib.php b/mod/forum/lib.php index 538c46d15f..2d949cef6c 100644 --- a/mod/forum/lib.php +++ b/mod/forum/lib.php @@ -1308,6 +1308,7 @@ function forum_add_discussion($discussion) { $post->attachment = ""; $post->forum = $discussion->forum; $post->course = $discussion->course; + $post->format = $discussion->format; if (! $post->id = insert_record("forum_posts", $post) ) { return 0; -- 2.39.5