Skip to content

Commit

Permalink
MDL-79075 quiz: Fix transposed user IDs
Browse files Browse the repository at this point in the history
In the description of "Quiz attempt reviewed" events the user IDs of
the reviewer (typically the teacher) and the reviewee (typically the
student) were the wrong way round.
  • Loading branch information
leonstr committed Aug 21, 2023
1 parent e998f14 commit b3eed7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mod/quiz/classes/event/attempt_reviewed.php
Expand Up @@ -65,7 +65,7 @@ public static function get_name() {
* @return string
*/
public function get_description() {
return "The user with id '$this->userid' has had their attempt with id '$this->objectid' reviewed by the user " .
return "The user with id '$this->userid' has reviewed quiz attempt with id '$this->objectid' by user ".
"with id '$this->relateduserid' for the quiz with course module id '$this->contextinstanceid'.";
}

Expand Down

0 comments on commit b3eed7c

Please sign in to comment.