Bug #6231. Question name truncated to 250 characters.

This commit is contained in:
thepurpleblob
2006-08-15 14:38:38 +00:00
parent 029d0a28bd
commit 48b358ba56
+2
View File
@@ -209,6 +209,8 @@ class qformat_gift extends qformat_default {
$question->name = $question->questiontext;
}
// ensure name is not longer than 250 characters
$question->name = shorten_text( $question->name, 250 );
// determine QUESTION TYPE
$question->qtype = NULL;