mirror of
https://github.com/moodle/moodle.git
synced 2025-03-12 19:54:08 +01:00
Merge branch 'MDL-28508' of git://github.com/timhunt/moodle
This commit is contained in:
commit
58e67f7f1a
@ -96,8 +96,8 @@ class qformat_aiken extends qformat_default {
|
|||||||
} else {
|
} else {
|
||||||
// Must be the first line of a new question, since no recognised prefix.
|
// Must be the first line of a new question, since no recognised prefix.
|
||||||
$question->qtype = MULTICHOICE;
|
$question->qtype = MULTICHOICE;
|
||||||
$question->name = htmlspecialchars(substr($nowline, 0, 50));
|
$question->name = shorten_text(s($nowline), 50);
|
||||||
$question->questiontext = htmlspecialchars($nowline);
|
$question->questiontext = s($nowline);
|
||||||
$question->single = 1;
|
$question->single = 1;
|
||||||
$question->feedback[] = '';
|
$question->feedback[] = '';
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user