]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-10902:
authorthepurpleblob <thepurpleblob>
Sat, 18 Aug 2007 09:33:45 +0000 (09:33 +0000)
committerthepurpleblob <thepurpleblob>
Sat, 18 Aug 2007 09:33:45 +0000 (09:33 +0000)
Whoops! Overwrote question object. Variable name changed
Thanks to Adriane Boyd for spotting that one.

Merged from STABLE_18

question/format/gift/format.php

index f3462fed829f598175ff8cf056705cbd86928896..a9844bb75a419fcdca48430e92effb1c96d4d370 100755 (executable)
@@ -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) {