Permalink
Browse files

MDL-25609 frontpage combo list - avoid filter linking too much

  • Loading branch information...
1 parent 88e5c58 commit f4c23f03dc7847ca104330a8d9f00146f5fe8d8f @stronk7 stronk7 committed Dec 14, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 course/renderer.php
View
@@ -130,7 +130,7 @@ protected function course_category_tree_category(stdClass $category, $depth=1) {
$coursecount ++;
$classes[] = ($coursecount%2)?'odd':'even';
$content .= html_writer::start_tag('div', array('class'=>join(' ', $classes)));
- $content .= html_writer::link(new moodle_url('/course/view.php', array('id'=>$course->id)), format_text($course->fullname, FORMAT_HTML), array('class'=>$linkclass));
+ $content .= html_writer::link(new moodle_url('/course/view.php', array('id'=>$course->id)), format_string($course->fullname), array('class'=>$linkclass));
$content .= html_writer::start_tag('div', array('class'=>'course_info clearfix'));
// print enrol info
@@ -152,4 +152,4 @@ protected function course_category_tree_category(stdClass $category, $depth=1) {
$content .= html_writer::end_tag('div');
return $content;
}
-}
+}

0 comments on commit f4c23f0

Please sign in to comment.