Merge branch 'MDL-53239_30' of git://github.com/dmonllao/moodle into MOODLE_30_STABLE
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user