From: thepurpleblob Date: Wed, 11 Mar 2009 13:16:54 +0000 (+0000) Subject: MDL-18390 - now correctly looks up name of questiontype from language pack X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=f040135da5349649aa4efb879e09be1b2f0e293b;p=moodle.git MDL-18390 - now correctly looks up name of questiontype from language pack Merged from STABLE19 --- diff --git a/question/format/gift/format.php b/question/format/gift/format.php index c7d13b9de4..6d2b7bafcc 100755 --- a/question/format/gift/format.php +++ b/question/format/gift/format.php @@ -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