]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-18390 - now correctly looks up name of questiontype from language pack
authorthepurpleblob <thepurpleblob>
Wed, 11 Mar 2009 13:16:54 +0000 (13:16 +0000)
committerthepurpleblob <thepurpleblob>
Wed, 11 Mar 2009 13:16:54 +0000 (13:16 +0000)
Merged from STABLE19

question/format/gift/format.php

index c7d13b9de4fecd1f759043f766dcdef92c0b25a2..6d2b7bafcca34e004b1f1f974191514283ab5c19 100755 (executable)
@@ -647,7 +647,7 @@ function writequestion( $question ) {
         }
         else {
             $expout .= "Question type $question->qtype is not supported\n";
-            notify( get_string('nohandler','qformat_gift',$question->qtype ) );
+            notify( get_string('nohandler','qformat_gift',get_string($question->qtype,'quiz') ) );
         }
     }
     // add empty line to delimit questions