mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
Merge branch 'MDL-37646-23' of git://github.com/damyon/moodle into MOODLE_23_STABLE
This commit is contained in:
commit
1a5f2cf058
1 changed files with 3 additions and 0 deletions
|
@ -2701,6 +2701,9 @@ class assign {
|
|||
$gradevalue = optional_param('quickgrade_' . $userid, '', PARAM_TEXT);
|
||||
if($modified >= 0) {
|
||||
$record->grade = unformat_float(optional_param('quickgrade_' . $record->userid, -1, PARAM_TEXT));
|
||||
} else {
|
||||
// This user was not in the grading table.
|
||||
continue;
|
||||
}
|
||||
$record->lastmodified = $modified;
|
||||
$record->gradinginfo = grade_get_grades($this->get_course()->id, 'mod', 'assign', $this->get_instance()->id, array($userid));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue