mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
MDL-81697 qtype_ordering: correctly reference feedback file areas.
This commit is contained in:
parent
f0c1a3789d
commit
21e6eea20e
@ -385,7 +385,7 @@ class qtype_ordering_question extends question_graded_automatically {
|
||||
$answerid = reset($args); // Value of "itemid" is answer id.
|
||||
return array_key_exists($answerid, $this->answers);
|
||||
}
|
||||
if (in_array($filearea, $this->qtype->feedbackfields)) {
|
||||
if (in_array($filearea, ['correctfeedback', 'partiallycorrectfeedback', 'incorrectfeedback'])) {
|
||||
return $this->check_combined_feedback_file_access($qa, $options, $filearea, $args);
|
||||
}
|
||||
if ($filearea == 'hint') {
|
||||
|
Loading…
x
Reference in New Issue
Block a user