Skip to content

Commit

Permalink
Merge branch 'MDL-34921_27_unwanted-sitehome-redirects' of https://gi…
Browse files Browse the repository at this point in the history
…thub.com/colin-umn/moodle into MOODLE_27_STABLE
  • Loading branch information
andrewnicols committed Apr 23, 2015
2 parents 2ab166e + e9d861b commit 83180e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion course/format/lib.php
Expand Up @@ -941,7 +941,7 @@ function get_section_name($section) {
* @return null|moodle_url
*/
public function get_view_url($section, $options = array()) {
return new moodle_url('/');
return new moodle_url('/', array('redirect' => 0));
}

/**
Expand Down

0 comments on commit 83180e0

Please sign in to comment.