Permalink
Browse files

Merge branch 'MDL-25884' of git://github.com/timhunt/moodle

  • Loading branch information...
2 parents 34b6817 + 151c228 commit ab8bc2ee1cbbd29de2645cb91b3773ce54afa424 Sam Hemelryk committed Jan 24, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 mod/quiz/index.php
View
4 mod/quiz/index.php
@@ -92,8 +92,8 @@
SELECT qg.quiz, qg.grade
FROM {quiz_grades} qg
JOIN {quiz} q ON q.id = qg.quiz
- WHERE q.course = ?',
- $course->id);
+ WHERE q.course = ? AND qg.userid = ?',
+ array($course->id, $USER->id));
}
$table = new html_table();

0 comments on commit ab8bc2e

Please sign in to comment.