From 4e334e2d8979cd0aa7e6cb5d2eafdf7568078bd9 Mon Sep 17 00:00:00 2001 From: thepurpleblob Date: Wed, 11 Mar 2009 13:15:32 +0000 Subject: [PATCH] MDL-18390 - now correctly looks up name of questiontype from language pack --- 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 4893e80a42d..1b29644075d 100755 --- a/question/format/gift/format.php +++ b/question/format/gift/format.php @@ -647,7 +647,7 @@ function writequestion( $question ) { } else { $expout .= "// $question->qtype is not supported by the GIFT format\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