From: thepurpleblob Date: Tue, 15 Aug 2006 14:39:47 +0000 (+0000) Subject: Merged from STABLE X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=8daaaafcf0a670b40d5d1989cab8e67d07c3f066;p=moodle.git Merged from STABLE --- diff --git a/question/format/gift/format.php b/question/format/gift/format.php index 6be1cd5ca9..62af329d68 100755 --- a/question/format/gift/format.php +++ b/question/format/gift/format.php @@ -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;