Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

MDL-35784 Mnet: courseid should not be used for format text on my hom…

…e page
  • Loading branch information...
commit 266bc2946bf274911b16b1ca5e6994c3dd44218a 1 parent 5d6285c
@rajeshtaneja rajeshtaneja authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  blocks/course_overview/renderer.php
View
2  blocks/course_overview/renderer.php
@@ -111,7 +111,7 @@ public function course_overview($courses, $overviews) {
} else {
$html .= $this->output->heading(html_writer::link(
new moodle_url('/auth/mnet/jump.php', array('hostid' => $course->hostid, 'wantsurl' => '/course/view.php?id='.$course->remoteid)),
- format_string($course->shortname, true, $course->id), $attributes) . ' (' . format_string($course->hostname) . ')', 2, 'title');
+ format_string($course->shortname, true), $attributes) . ' (' . format_string($course->hostname) . ')', 2, 'title');
}
$html .= $this->output->box('', 'flush');
$html .= html_writer::end_tag('div');
Please sign in to comment.
Something went wrong with that request. Please try again.