Skip to content

Commit

Permalink
quiz MDL-18896 small efficiency improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Davis committed Dec 16, 2009
1 parent 63bc1b3 commit a6ffb8e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions mod/quiz/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@
if (quiz_has_feedback($quiz)) {
$showfeedback=true;
}
if($showclosingheader && $showfeedback) {
break;
}
}

// Configure table for displaying the list of instances.
Expand Down

0 comments on commit a6ffb8e

Please sign in to comment.