mirror of
https://github.com/moodle/moodle.git
synced 2025-04-07 09:23:31 +02:00
Merge branch 'MDL-65641' of git://github.com/stronk7/moodle
This commit is contained in:
commit
429649efbf
@ -737,7 +737,8 @@ $mformpost->set_data(
|
||||
'subject' => $post->subject,
|
||||
'message' => array(
|
||||
'text' => $currenttext,
|
||||
'format' => empty($post->messageformat) ? editors_get_preferred_format() : $post->messageformat,
|
||||
'format' => !isset($post->messageformat) || !is_numeric($post->messageformat) ?
|
||||
editors_get_preferred_format() : $post->messageformat,
|
||||
'itemid' => $draftideditor
|
||||
),
|
||||
'discussionsubscribe' => $discussionsubscribe,
|
||||
|
Loading…
x
Reference in New Issue
Block a user