Permalink
Browse files

MDL-39691 Lesson - Email graded essays not working

  • Loading branch information...
1 parent cda44a1 commit 17c77ac5007fbfe690a823d4a1994ceb1b08fb84 Jean-Michel Vedrine committed Aug 3, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 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 17c77ac

Please sign in to comment.