mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
MDL-16097: Missing $DB. Found by Joseph Morwick.
This commit is contained in:
parent
b98e7c62ff
commit
f8c81c01f0
1 changed files with 1 additions and 1 deletions
|
@ -1380,7 +1380,7 @@ class assignment_base {
|
|||
* @return object The updated submission object
|
||||
*/
|
||||
function process_feedback() {
|
||||
global $CFG, $USER;
|
||||
global $CFG, $USER, $DB;
|
||||
require_once($CFG->libdir.'/gradelib.php');
|
||||
|
||||
if (!$feedback = data_submitted()) { // No incoming data?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue