MDL-10902:

Whoops! Overwrote question object. Variable name changed
Thanks to Adriane Boyd for spotting that one.

Merged from STABLE_18
This commit is contained in:
thepurpleblob
2007-08-18 09:33:45 +00:00
parent 0be6f67819
commit d510ec64b6
+2 -2
View File
@@ -227,8 +227,8 @@ class qformat_gift extends qformat_default {
// give plugins first try
// plugins must promise not to intercept standard qtypes
if ($question = $this->try_importing_using_qtypes( $lines, $question, $answertext )) {
return $question;
if ($try_question = $this->try_importing_using_qtypes( $lines, $question, $answertext )) {
return $try_question;
}
if ($description) {