From 9abb69aacb5b3d5cc1e048200e9ecff9f6613c56 Mon Sep 17 00:00:00 2001 From: Jamie Pratt Date: Thu, 15 Dec 2011 14:38:42 +0700 Subject: [PATCH] MDL-30749 fixing typo referring to question instead of answer object --- question/type/questiontypebase.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/question/type/questiontypebase.php b/question/type/questiontypebase.php index 5e76deb5fdb..9cef2d732fe 100644 --- a/question/type/questiontypebase.php +++ b/question/type/questiontypebase.php @@ -996,7 +996,7 @@ class question_type { $percent = 100 * $answer->fraction; $expout .= " format($answer->answerformat)}>\n"; $expout .= $format->writetext($answer->answer, 3, false); - $expout .= " format($question->feedbackformat)}>\n"; + $expout .= " format($answer->feedbackformat)}>\n"; $expout .= $format->writetext($answer->feedback, 4, false); $expout .= " \n"; if (is_array($extraanswersfields)) {