mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 00:12:56 +02:00
MDL-79075 quiz: Fix transposed user IDs
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.
This commit is contained in:
parent
e998f14061
commit
b3eed7cc95
@ -65,7 +65,7 @@ class attempt_reviewed extends \core\event\base {
|
||||
* @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'.";
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user