Permalink
Browse files

MDL-20579 Fixed user variable

  • Loading branch information...
mudrd8mz
mudrd8mz committed Oct 16, 2009
1 parent 64c63e6 commit d626d3e470f95e18d5809ec194f372d22ee819ed
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/workshop/view.php
View
@@ -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;
}

0 comments on commit d626d3e

Please sign in to comment.