Skip to content

Commit

Permalink
MDL-34921 course/format: Fix unwanted redirects from Site home
Browse files Browse the repository at this point in the history
  • Loading branch information
colin-umn committed Apr 5, 2015
1 parent 06d2bb2 commit e9d861b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion course/format/lib.php
Expand Up @@ -936,7 +936,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 e9d861b

Please sign in to comment.