Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed a typo that was introduced with revision 1.4 - I believe that r…

…evision must have been developed with some sort of script...
  • Loading branch information...
commit c4fb19504670a00627fedccbb280e0425012f95a 1 parent 401f9a6
kaipe authored
View
2  mod/quiz/questiontypes/match/editquestion.php
@@ -7,7 +7,7 @@
}
}
if (empty($subquestions) and empty($subanswers)) {
- for ($i=0; $i<quiz_MAX_NUMBER_ANSWERS; $i++) {
+ for ($i=0 ; $i < QUIZ_MAX_NUMBER_ANSWERS ; $i++) {
$subquestions[] = ""; // Make question slots, default as blank
$subanswers[] = ""; // Make answer slots, default as blank
}
View
2  mod/quiz/questiontypes/multichoice/editquestion.php
@@ -8,7 +8,7 @@
if (!empty($options->answers)) {
$answersraw = get_records_list("quiz_answers", "id", $options->answers);
}
- for ($i=0; $i<quiz_MAX_NUMBER_ANSWERS; $i++) {
+ for ($i=0 ; $i < QUIZ_MAX_NUMBER_ANSWERS ; $i++) {
$answers[] = ""; // Make answer slots, default as blank
}
if (!empty($answersraw)) {
View
2  mod/quiz/questiontypes/shortanswer/editquestion.php
@@ -7,7 +7,7 @@
if (!empty($options->answers)) {
$answersraw = get_records_list("quiz_answers", "id", $options->answers);
}
- for ($i=0; $i<quiz_MAX_NUMBER_ANSWERS; $i++) {
+ for ($i=0 ; $i < QUIZ_MAX_NUMBER_ANSWERS ; $i++) {
$answers[] = ""; // Make answer slots, default as blank
}
if (!empty($answersraw)) {

0 comments on commit c4fb195

Please sign in to comment.
Something went wrong with that request. Please try again.