mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 14:03:52 +01:00
Merge branch 'MDL-26748' of git://github.com/timhunt/moodle
This commit is contained in:
commit
d47070248f
@ -87,7 +87,8 @@ class question_essay_qtype extends default_questiontype {
|
||||
$feedback = '';
|
||||
if ($options->feedback && !empty($answers)) {
|
||||
foreach ($answers as $answer) {
|
||||
$feedback = quiz_rewrite_question_urls($answer->feedback, 'pluginfile.php', $context->id, 'qtype_essay', 'feedback', array($state->attempt, $state->question), $answer->id);
|
||||
$feedback = quiz_rewrite_question_urls($answer->feedback, 'pluginfile.php',
|
||||
$context->id, 'question', 'answerfeedback', array($state->attempt, $state->question), $answer->id);
|
||||
$feedback = format_text($feedback, $answer->feedbackformat, $formatoptions, $cmoptions->course);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user