Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

navigation MDL-24599 Sections no longer link

  • Loading branch information...
commit dbe5050d94636fe331541d151cbaac66b1947104 1 parent 6c91565
@samhemelryk samhemelryk authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  lib/navigationlib.php
View
3  lib/navigationlib.php
@@ -1409,7 +1409,8 @@ public function load_generic_course_sections(stdClass $course, navigation_node $
} else {
$sectionname = get_string('section').' '.$section->section;
}
- $url = new moodle_url('/course/view.php', array('id'=>$course->id));
+ //$url = new moodle_url('/course/view.php', array('id'=>$course->id));
+ $url = null;
$sectionnode = $coursenode->add($sectionname, $url, navigation_node::TYPE_SECTION, null, $section->id);
$sectionnode->nodetype = navigation_node::NODETYPE_BRANCH;
$sectionnode->hidden = (!$section->visible);
Please sign in to comment.
Something went wrong with that request. Please try again.