Skip to content
Browse files

Fixed an error message that contained a reference to an old object.

  • Loading branch information...
1 parent a74f39a commit cdb21087dae0b12f1da73d37f0f4c089d049e69c mindforge committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/quiz/questiontypes/multianswer/questiontype.php
View
2 mod/quiz/questiontypes/multianswer/questiontype.php
@@ -297,7 +297,7 @@ function print_question_formulation_and_controls(&$question, &$state, $quiz,
echo '</select>';
break;
default:
- error("Unable to recognized answertype $answer->answertype");
+ error("Unable to recognized answertype '$wrapped->qtype'.");
break;
}
}

0 comments on commit cdb2108

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