Permalink
Browse files

MDL-39691 Lesson - Email graded essays not working

  • Loading branch information...
1 parent 50ff861 commit 2f0450837795fafa00fcdb0efc38e5e5d60055a2 Jean-Michel Vedrine committed Aug 3, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/lesson/essay.php
View
@@ -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 2f04508

Please sign in to comment.