diff --git a/lib/classes/event/user_enrolment_created.php b/lib/classes/event/user_enrolment_created.php index 3ea29bb2b1c..7f84fbc0dd8 100644 --- a/lib/classes/event/user_enrolment_created.php +++ b/lib/classes/event/user_enrolment_created.php @@ -65,8 +65,8 @@ class user_enrolment_created extends base { * @return string */ public function get_description() { - return "The user with id '$this->userid' enrolled the user with id '$this->relateduserid' in the course with " . - "id '$this->courseid'."; + return "The user with id '$this->userid' enrolled the user with id '$this->relateduserid' using the enrolment method " . + "'{$this->other['enrol']}' in the course with id '$this->courseid'."; } /**