Skip to content

Commit

Permalink
MDL-43557 fix relateduserid in \mod_workshop\event\submission_assessed
Browse files Browse the repository at this point in the history
The assessment is related to the original author of submission.
  • Loading branch information
skodak committed Apr 30, 2014
1 parent 02a5a4b commit d1c7cf5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mod/workshop/assessment.php
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@
if (count((array)$coredata) > 1 ) {
$DB->update_record('workshop_assessments', $coredata);
$params = array(
'relateduserid' => $assessment->authorid,
'relateduserid' => $submission->authorid,
'objectid' => $assessment->id,
'context' => $workshop->context,
'other' => array(
Expand Down

0 comments on commit d1c7cf5

Please sign in to comment.