mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
MDL-53239 grader report: Add all names to error msg
This commit is contained in:
parent
e8952c5951
commit
01f4ea8cce
@ -91,7 +91,7 @@ switch ($action) {
|
||||
}
|
||||
|
||||
if ($errorstr) {
|
||||
$user = $DB->get_record('user', array('id' => $userid), 'id, firstname, lastname');
|
||||
$user = $DB->get_record('user', array('id' => $userid), 'id, ' . get_all_user_name_fields(true));
|
||||
$gradestr = new stdClass();
|
||||
$gradestr->username = fullname($user);
|
||||
$gradestr->itemname = $grade_item->get_name();
|
||||
|
Loading…
x
Reference in New Issue
Block a user