From 8daaaafcf0a670b40d5d1989cab8e67d07c3f066 Mon Sep 17 00:00:00 2001 From: thepurpleblob Date: Tue, 15 Aug 2006 14:39:47 +0000 Subject: [PATCH] Merged from STABLE --- question/format/gift/format.php | 2 ++ 1 file changed, 2 insertions(+) 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; -- 2.39.5