Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge branch 'MDL-59813-master' of git://github.com/farhan6318/moodle
  • Loading branch information
David Monllao committed Jan 2, 2018
2 parents b5e7264 + c0aca8f commit 6ffb51e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/navigationlib.php
Expand Up @@ -3025,7 +3025,7 @@ protected function load_courses_enrolled() {
// Show a link to the course page if there are more courses the user is enrolled in.
if ($showmorelinkinnav || $showmorelinkinflatnav) {
// Adding hash to URL so the link is not highlighted in the navigation when clicked.
$url = new moodle_url('/course/index.php#');
$url = new moodle_url('/my/?myoverviewtab=courses');
$parent = $this->rootnodes['mycourses'];
$coursenode = $parent->add(get_string('morenavigationlinks'), $url, self::TYPE_CUSTOM, null, self::COURSE_INDEX_PAGE);

Expand Down

0 comments on commit 6ffb51e

Please sign in to comment.