MDL-27153 gradebook - fixed an SQL error in grade export

This commit is contained in:
Andrew Davis (andyjdavis) 2011-04-13 11:14:56 +08:00 committed by Eloy Lafuente (stronk7)
parent 20d8d5c799
commit 4f82032a16

View File

@ -158,7 +158,7 @@ class graded_users_iterator {
FROM {role_assignments} ra
WHERE ra.roleid $gradebookroles_sql
AND ra.contextid $relatedcontexts
) rainnner ON rainner.userid = u.id
) rainner ON rainner.userid = u.id
WHERE u.deleted = 0
AND g.itemid $itemidsql
$groupwheresql