mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 17:06:53 +02:00
MDL-59363 mod_workshop: user object must have alternative name fields
This commit is contained in:
parent
f4a2d69631
commit
6023e58bd1
1 changed files with 2 additions and 1 deletions
|
@ -1522,7 +1522,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 = ?";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue