From f040135da5349649aa4efb879e09be1b2f0e293b Mon Sep 17 00:00:00 2001 From: thepurpleblob Date: Wed, 11 Mar 2009 13:16:54 +0000 Subject: [PATCH] MDL-18390 - now correctly looks up name of questiontype from language pack Merged from STABLE19 --- question/format/gift/format.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/question/format/gift/format.php b/question/format/gift/format.php index c7d13b9de4f..6d2b7bafcca 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