Permalink
Browse files

Fixed a redundant use of ->order.

  • Loading branch information...
1 parent 172d47a commit 83ba3e70071d3854aeba7b7ef1cb558e75cb001d mindforge committed Jul 14, 2005
Showing with 1 addition and 3 deletions.
  1. +1 −3 mod/quiz/questiontypes/match/questiontype.php
@@ -216,9 +216,7 @@ function print_question_formulation_and_controls(&$question, &$state, $quiz, $op
///// Print the input controls //////
echo '<table border="0" cellpadding="10" align="right">';
- foreach ($state->options->order as $key) {
- $subquestion = $subquestions[$key];
-
+ foreach ($subquestions as $key => $subquestion) {
/// Subquestion text:
echo '<tr><td align="left" valign="top">';
echo format_text($subquestion->questiontext,

0 comments on commit 83ba3e7

Please sign in to comment.