MDL-20579 Fixed user variable

This commit is contained in:
mudrd8mz
2009-10-16 11:12:34 +00:00
parent 64c63e6cbb
commit d626d3e470
+1 -1
View File
@@ -106,7 +106,7 @@
foreach ($submissions as $submission) {
$grade = workshop_submission_grade($workshop, $submission);
if ($workshop->wtype) {
$gradinggrade = workshop_gradinggrade($workshop, $student);
$gradinggrade = workshop_gradinggrade($workshop, $USER);
} else { // ignore grading grades for simple assignments
$gradinggrade = 0;
}