From c6f99d9640a44739c44b5bacdffe364d5d45dda4 Mon Sep 17 00:00:00 2001 From: gustav_delius Date: Thu, 17 Mar 2005 00:17:47 +0000 Subject: [PATCH] Fix for bug 2750 --- mod/quiz/questiontypes/randomsamatch/randomsamatch.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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); ?>