diff --git a/mod/quiz/questiontypes/randomsamatch/randomsamatch.html b/mod/quiz/questiontypes/randomsamatch/randomsamatch.html
index f29d1d52559..da238891de1 100644
--- a/mod/quiz/questiontypes/randomsamatch/randomsamatch.html
+++ b/mod/quiz/questiontypes/randomsamatch/randomsamatch.html
@@ -35,7 +35,7 @@
";
}
if (empty($question->questiontext)) {
@@ -48,7 +48,7 @@
echo ' ';
print_string("formattexttype");
echo ": ";
- if (!$question->questiontextformat) {
+ if (empty($question->questiontextformat)) {
$question->questiontextformat = FORMAT_MOODLE;
}
choose_from_menu(format_text_menu(), "questiontextformat", $question->questiontextformat, "");
@@ -61,7 +61,7 @@
|
| : |
-
|
-qtype]->print_replacement_options($question, $course, $contextquiz);
$QUIZ_QTYPES[$question->qtype]->print_question_form_end($question);
?>