Permalink
Browse files

Merge branch 'wip-mdl-43765' of https://github.com/rajeshtaneja/moodle

  • Loading branch information...
2 parents 705718f + ed44f0a commit b598c481792d3945f7dee59f7191978eeaea0e0b @stronk7 stronk7 committed Jan 27, 2014
Showing with 2 additions and 2 deletions.
  1. +2 −2 report/participation/index.php
View
4 report/participation/index.php
@@ -251,8 +251,8 @@
$groupsql = "JOIN {groups_members} gm ON (gm.userid = u.id AND gm.groupid = :groupid)";
$params['groupid'] = $currentgroup;
}
-
- $sql = "SELECT ra.userid, u.firstname, u.lastname, u.idnumber, l.actioncount AS count
+ $usernamefields = get_all_user_name_fields(true, 'u');
+ $sql = "SELECT ra.userid, $usernamefields, u.idnumber, l.actioncount AS count
FROM (SELECT * FROM {role_assignments} WHERE contextid $relatedctxsql AND roleid = :roleid ) ra
JOIN {user} u ON u.id = ra.userid
$groupsql

0 comments on commit b598c48

Please sign in to comment.