Permalink
Browse files

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

…ODLE_24_STABLE
  • Loading branch information...
2 parents 8b44746 + afcc12e commit 2cb6f681797485e9ae3a6ed5470238b29b542468 @danpoltawski danpoltawski committed Feb 4, 2013
Showing with 3 additions and 0 deletions.
  1. +3 −0 mod/assign/locallib.php
View
@@ -3709,6 +3709,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 2cb6f68

Please sign in to comment.