Skip to content

Commit

Permalink
MDL-35784 Mnet: courseid should not be used for format text on my hom…
Browse files Browse the repository at this point in the history
…e page
  • Loading branch information
Rajesh Taneja committed Oct 4, 2012
1 parent 5d6285c commit 266bc29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blocks/course_overview/renderer.php
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ public function course_overview($courses, $overviews) {
} else { } else {
$html .= $this->output->heading(html_writer::link( $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)), 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 .= $this->output->box('', 'flush');
$html .= html_writer::end_tag('div'); $html .= html_writer::end_tag('div');
Expand Down

0 comments on commit 266bc29

Please sign in to comment.