From 6e5a360ad1f57bdcffdb3f95374583f291ec8935 Mon Sep 17 00:00:00 2001 From: thepurpleblob Date: Mon, 1 May 2006 07:35:33 +0000 Subject: [PATCH] Question object not always initialised. Bug #5369 --- question/format/aiken/format.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/question/format/aiken/format.php b/question/format/aiken/format.php index d6657adc3a..3684ec3898 100644 --- a/question/format/aiken/format.php +++ b/question/format/aiken/format.php @@ -70,7 +70,7 @@ class qformat_aiken extends qformat_default { $question->fraction[$rightans] = 1; $questions[] = $question; //clear array for next question set - $question = NULL; + $question = $this->defaultquestion(); continue; } else { //Must be the first line since no leader -- 2.39.5