MDL-19095 mod/forum: fix for new forum discussions being broken

(This problem was introduced in e2d7687fc4)
This commit is contained in:
fmarier
2009-05-06 22:41:39 +00:00
parent 1edd08ab56
commit 330895d56f
+2 -1
View File
@@ -541,8 +541,9 @@
}
$fromform->itemid = $fromform->message['itemid'];
$fromform->message = $fromform->message['text'];
$fromform->messageformat = $fromform->message['format'];
$fromform->message = $fromform->message['text'];
// WARNING: the $fromform->message array has been overwritten, do not use it anymore!
$fromform->messagetrust = trusttext_trusted($modcontext);
if ($fromform->edit) { // Updating a post