From d510ec64b6f3f166d8bb3e215e72ca84b0f19083 Mon Sep 17 00:00:00 2001 From: thepurpleblob Date: Sat, 18 Aug 2007 09:33:45 +0000 Subject: [PATCH] MDL-10902: Whoops! Overwrote question object. Variable name changed Thanks to Adriane Boyd for spotting that one. Merged from STABLE_18 --- question/format/gift/format.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/question/format/gift/format.php b/question/format/gift/format.php index f3462fed82..a9844bb75a 100755 --- a/question/format/gift/format.php +++ b/question/format/gift/format.php @@ -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) { -- 2.39.5