Permalink
Browse files

Merge branch 'MDL-37646-23' of git://github.com/damyon/moodle into MO…

…ODLE_23_STABLE
  • Loading branch information...
2 parents 6f4c357 + 86cc12d commit 1a5f2cf0580ab993186c3560264178a28acddadf @danpoltawski danpoltawski committed Feb 4, 2013
Showing with 3 additions and 0 deletions.
  1. +3 −0 mod/assign/locallib.php
View
@@ -2701,6 +2701,9 @@ private function process_save_quick_grades() {
$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));

0 comments on commit 1a5f2cf

Please sign in to comment.