Home
Documentation
Downloads
Demo
Tracker
Development
Translation
Moodle.net
Search
projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e8952c5
)
MDL-53239 grader report: Add all names to error msg
author
David Monllao
<davidm@moodle.com>
Thu, 25 Feb 2016 07:02:01 +0000
(15:02 +0800)
committer
David Monllao
<davidm@moodle.com>
Thu, 17 Mar 2016 02:57:57 +0000
(10:57 +0800)
grade/report/grader/ajax_callbacks.php
patch
|
blob
|
blame
|
history
diff --git
a/grade/report/grader/ajax_callbacks.php
b/grade/report/grader/ajax_callbacks.php
index
f0c7188
..
0d971a7
100644
(file)
--- a/
grade/report/grader/ajax_callbacks.php
+++ b/
grade/report/grader/ajax_callbacks.php
@@
-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();