diff --git a/mod/quiz/editlib.php b/mod/quiz/editlib.php
index 05fe89a778b..f4a40699803 100644
--- a/mod/quiz/editlib.php
+++ b/mod/quiz/editlib.php
@@ -223,9 +223,11 @@ function quiz_print_question_list($quiz, $allowdelete=true, $showbreaks=true, $r
pixpath/t/delete.gif\" border=\"0\" alt=\"$strremove\" />";
}
echo '';
- echo '
';
+ echo ' ';
}
$count++;
+ // missing here, if loop is broken, need to close the from line 199/201
+ echo "";
continue;
}
$question = $questions[$qnum];
@@ -288,12 +290,14 @@ function quiz_print_question_list($quiz, $allowdelete=true, $showbreaks=true, $r
echo "\n";
print_string('total');
+ echo " ";
echo ": \n";
echo "$sumgrade ";
echo " \n \n";
echo "\n";
print_string('maximumgrade');
+ echo " ";
echo ": \n";
echo ' ';
@@ -303,7 +307,7 @@ function quiz_print_question_list($quiz, $allowdelete=true, $showbreaks=true, $r
echo ' ';
echo '
';
- echo ' '; // ugly hack to prevent modform session "mistakes"
+ echo ' '; // ugly hack to prevent modform session "mistakes"
print_simple_box_end();
echo "\n";