Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

MDL-36086 Fix SQL parameters array

  • Loading branch information...
commit 462b4c128c7184c746b849a1ca749e7af7714e47 1 parent 7e8ae12
@mudrd8mz mudrd8mz authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  mod/workshop/locallib.php
2  mod/workshop/locallib.php
@@ -1747,7 +1747,7 @@ public function prepare_grading_report_data($userid, $groupid, $page, $perpage,
JOIN {user} e ON (s.authorid =
WHERE $participantids AND s.workshopid = :workshopid
ORDER BY a.weight DESC, $sort";
- $reviewees = $DB->get_records_sql($sql, array_merge($sortparams));
+ $reviewees = $DB->get_records_sql($sql, array_merge($params, $sortparams));
foreach ($reviewees as $reviewee) {
if (!isset($userinfo[$reviewee->authorid])) {
$userinfo[$reviewee->authorid] = new stdclass();
Please sign in to comment.
Something went wrong with that request. Please try again.