MDL-18034 MDL-18035 correcting typo

saving answers data in $question->answerif they come from edit from.
This commit is contained in:
pichetp
2009-02-20 20:52:32 +00:00
parent 0e633d845a
commit f7fa6874f7
+1 -1
View File
@@ -131,7 +131,7 @@ class question_calculated_qtype extends default_questiontype {
// Get old answers:
global $CFG, $DB;
if (isset($question->answer) && !isset($question->asnwers)) {
if (isset($question->answer) && !isset($question->answers)) {
$question->answers = $question->answer;
}