MDL-19095 mod/forum: fix for new forum discussions being broken
(This problem was introduced in e2d7687fc4)
This commit is contained in:
+2
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user