Skip to content

Commit

Permalink
Merge branch 'MDL-68916-master' of git://github.com/mihailges/moodle
Browse files Browse the repository at this point in the history
  • Loading branch information
junpataleta committed Jun 8, 2020
2 parents d7ffa84 + 36c3eb0 commit eee5661
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mod/h5pactivity/classes/local/report/participants.php
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,8 @@ public function __construct(manager $manager) {
// Set query SQL.
$capjoin = get_enrolled_with_capabilities_join($this->manager->get_context(), '', 'mod/h5pactivity:submit');
$this->set_sql(
'u.*',
'DISTINCT u.id, u.picture, u.firstname, u.lastname, u.firstnamephonetic, u.lastnamephonetic,
u.middlename, u.alternatename, u.imagealt, u.email',
"{user} u $capjoin->joins",
$capjoin->wheres,
$capjoin->params);
Expand Down

0 comments on commit eee5661

Please sign in to comment.