Merge branch 'm36_MDL-65686_Fix_Incorrect_Function_Call' of https://github.com/scara/moodle into MOODLE_36_STABLE
This commit is contained in:
+1
-1
@@ -4218,7 +4218,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);
|
||||
|
||||
Reference in New Issue
Block a user