Merge branch 'MDL-28132' of git://github.com/timhunt/moodle

This commit is contained in:
Eloy Lafuente (stronk7)
2011-07-01 01:37:43 +02:00
+1 -1
View File
@@ -139,7 +139,7 @@ class qtype_random extends question_type {
} else {
$string = 'randomqname';
}
return get_string($string, 'qtype_random', $category->name);
return get_string($string, 'qtype_random', shorten_text($category->name, 100));
}
protected function set_selected_question_name($question, $randomname) {