mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 20:50:21 +01:00
Merge branch 'MDL-81574-main' of https://github.com/ilyatregubov/moodle
This commit is contained in:
commit
9e2a8c6945
@ -309,8 +309,9 @@ class forum_portfolio_caller extends portfolio_module_caller_base {
|
||||
$viewfullnames = true;
|
||||
// format the post body
|
||||
$options = portfolio_format_text_options();
|
||||
$options->context = $this->modcontext;
|
||||
$format = $this->get('exporter')->get('format');
|
||||
$formattedtext = format_text($post->message, $post->messageformat, $options, $this->get('course')->id);
|
||||
$formattedtext = format_text($post->message, $post->messageformat, $options);
|
||||
$formattedtext = portfolio_rewrite_pluginfile_urls($formattedtext, $this->modcontext->id, 'mod_forum', 'post', $post->id, $format);
|
||||
|
||||
$output = '<table border="0" cellpadding="3" cellspacing="0" class="forumpost">';
|
||||
|
Loading…
x
Reference in New Issue
Block a user