MDL-39691 Lesson - Email graded essays not working

This commit is contained in:
Jean-Michel Vedrine
2013-08-11 08:18:42 +02:00
parent 50ff861263
commit 2f04508377
+1 -1
View File
@@ -163,7 +163,7 @@ switch ($mode) {
SELECT DISTINCT userid
FROM {lesson_attempts}
WHERE lessonid = :lessonid
) ui ON u.id = ui.id", $params)) {
) ui ON u.id = ui.userid", $params)) {
print_error('cannotfinduser', 'lesson');
}
}