Permalink
Browse files

Merge branch 'wip-MDL-59363-master' of git://github.com/marinaglancy/…

…moodle
  • Loading branch information...
dmonllao committed Jul 11, 2017
2 parents e5ca70b + 6023e58 commit e78d7cc0b1f94d2725a89d9aaa5a401c38147e66
Showing with 2 additions and 1 deletion.
  1. +2 −1 mod/workshop/lib.php
@@ -1553,7 +1553,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 = ?";

0 comments on commit e78d7cc

Please sign in to comment.