Skip to content

Commit

Permalink
Merge branch 'MDL-28132' of git://github.com/timhunt/moodle
Browse files Browse the repository at this point in the history
  • Loading branch information
stronk7 committed Jun 30, 2011
2 parents d721298 + baf706b commit 4411596
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion question/type/random/questiontype.php
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ public function question_name($category, $includesubcategories) {
} 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) {
Expand Down

0 comments on commit 4411596

Please sign in to comment.