Browse files

MDL-39691 Lesson - Email graded essays not working

  • Loading branch information...
1 parent ea3f5b5 commit bfa8f562f7397f8da46670f5dcb3270efebd3fac Jean-Michel Vedrine committed Aug 3, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/lesson/essay.php
View
2 mod/lesson/essay.php
@@ -163,7 +163,7 @@
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');
}
}

0 comments on commit bfa8f56

Please sign in to comment.