MDL-18390 - now correctly looks up name of questiontype from language pack

Merged from STABLE19
This commit is contained in:
thepurpleblob 2009-03-11 13:16:54 +00:00
parent 1263a0ff1d
commit f040135da5

View File

@ -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