Skip to content

Commit

Permalink
Merge branch 'wip-MDL-59363-32' of git://github.com/marinaglancy/mood…
Browse files Browse the repository at this point in the history
…le into MOODLE_32_STABLE
  • Loading branch information
dmonllao committed Jul 11, 2017
2 parents 8a1518f + c204ffe commit bb245a5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mod/workshop/lib.php
Expand Up @@ -1517,7 +1517,8 @@ function workshop_get_file_info($browser, $areas, $course, $cm, $context, $filea

} else {

$sql = "SELECT s.id, u.lastname, u.firstname
$userfields = get_all_user_name_fields(true, 'u');
$sql = "SELECT s.id, $userfields
FROM {workshop_submissions} s
JOIN {user} u ON (s.authorid = u.id)
WHERE s.example = 0 AND s.workshopid = ?";
Expand Down

0 comments on commit bb245a5

Please sign in to comment.