Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
3.6, 3.7, 3.8
-
MOODLE_36_STABLE, MOODLE_37_STABLE, MOODLE_38_STABLE
-
MOODLE_36_STABLE, MOODLE_37_STABLE
-
m38_
MDL-65686_Fix_Incorrect_Function_Call -
Description
There's an instance of send_file_not_found without its () after it - as I write, this is line 4240 in master. (Line 4221 in 36_STABLE)
I haven't seen the code get to it - but if it did, it would throw a warning (constant not defined, in some future version this will be an Error) and then promptly do nothing as it'll evaluate to an expression that will do nothing, and pass through to the next thing which is probably not desirable.
Easy fix, just needs to be changed from send_file_not_found to send_file_not_found().
If I get time I'll throw a patch together.
Attachments
Issue Links
- is a regression caused by
-
MDL-27520 Add file support in the gradebook feedbacks
-
- Closed
-