diff --git a/mod/forum/post.php b/mod/forum/post.php index 9976c87642d..39249e6f426 100644 --- a/mod/forum/post.php +++ b/mod/forum/post.php @@ -232,7 +232,7 @@ } } - if ($usehtmleditor = can_use_richtext_editor()) { + if ($usehtmleditor = can_use_html_editor()) { $defaultformat = FORMAT_HTML; } else { $defaultformat = FORMAT_MOODLE;