Merge branch 'm38_MDL-65686_Fix_Incorrect_Function_Call' of https://github.com/scara/moodle

This commit is contained in:
Eloy Lafuente (stronk7) 2019-06-04 20:04:41 +02:00
commit bf5ed19cb4

View file

@ -4237,7 +4237,7 @@ function file_pluginfile($relativepath, $forcedownload, $preview = null, $offlin
} else if ($filearea == GRADE_FEEDBACK_FILEAREA || $filearea == GRADE_HISTORY_FEEDBACK_FILEAREA) {
if ($context->contextlevel != CONTEXT_MODULE) {
send_file_not_found;
send_file_not_found();
}
require_login($course, false);