mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
MDL-65686 setuplib: Fix missing round brackets
This commit is contained in:
parent
29c395187f
commit
69a1afd9b9
1 changed files with 1 additions and 1 deletions
|
@ -4237,7 +4237,7 @@ function file_pluginfile($relativepath, $forcedownload, $preview = null, $offlin
|
||||||
|
|
||||||
} else if ($filearea == GRADE_FEEDBACK_FILEAREA || $filearea == GRADE_HISTORY_FEEDBACK_FILEAREA) {
|
} else if ($filearea == GRADE_FEEDBACK_FILEAREA || $filearea == GRADE_HISTORY_FEEDBACK_FILEAREA) {
|
||||||
if ($context->contextlevel != CONTEXT_MODULE) {
|
if ($context->contextlevel != CONTEXT_MODULE) {
|
||||||
send_file_not_found;
|
send_file_not_found();
|
||||||
}
|
}
|
||||||
|
|
||||||
require_login($course, false);
|
require_login($course, false);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue