mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 12:40:01 +01:00
MDL-65686 setuplib: Fix missing round brackets
This commit is contained in:
parent
29c395187f
commit
69a1afd9b9
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user