mirror of
https://github.com/moodle/moodle.git
synced 2025-04-20 07:56:06 +02:00
MDL-40776 grade: fix query for report outcomes
Add a missing space to the query for report outcomes to avoid error with Oracle.
This commit is contained in:
parent
88cd577ef3
commit
54867385b2
@ -74,7 +74,7 @@ foreach ($outcomes as $outcomeid => $outcome) {
|
||||
FROM {grade_grades}
|
||||
WHERE itemid = ?".
|
||||
$hidesuspendedsql.
|
||||
"GROUP BY itemid";
|
||||
" GROUP BY itemid";
|
||||
$info = $DB->get_records_sql($sql, $params);
|
||||
|
||||
if (!$info) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user