diff --git a/question/type/shortanswer/questiontype.php b/question/type/shortanswer/questiontype.php index 552bbc4e417..ecb933e7a0b 100644 --- a/question/type/shortanswer/questiontype.php +++ b/question/type/shortanswer/questiontype.php @@ -305,7 +305,7 @@ class question_shortanswer_qtype extends default_questiontype { echo ' partiallycorrect">'; print_string('partiallycorrect', 'quiz'); // MDL-7496 - if ($correctanswer) { + if ($correctanswer != '') { echo ('