mirror of
https://github.com/moodle/moodle.git
synced 2025-03-19 23:20:09 +01:00
MDL-81697 qtype_ordering: correctly reference feedback file areas.
This commit is contained in:
parent
792698af00
commit
88b4bc2beb
@ -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