Skip to content
Permalink
Browse files

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

  • Loading branch information...
stronk7 committed Dec 7, 2011
2 parents 073b19a + 21bedda commit 01783c46d47697b527a3cca86013e5ee44c76557
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/quiz/report/attemptsreport.php
@@ -360,7 +360,7 @@ protected function delete_selected_attempts($quiz, $cm, $attemptids, $allowed) {
// Ensure the attempt exists, and belongs to this quiz. If not skip.
continue;
}
if ($allowed && !array_key_exists($attempt->userid, $allowed)) {
if ($allowed && !in_array($attempt->userid, $allowed)) {
// Ensure the attempt belongs to a student included in the report. If not skip.
continue;
}

0 comments on commit 01783c4

Please sign in to comment.
You can’t perform that action at this time.