Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Merge branch 'w43_MDL-29990_m20_navcontinue' of git://github.com/skod…

…ak/moodle into MOODLE_20_STABLE
  • Loading branch information...
commit d14031e9aef5be9a0d9999d8f18e0c7942c43aa8 2 parents ace896c + 7704977
Aparup Banerjee nebgor authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  lib/navigationlib.php
2  lib/navigationlib.php
@@ -1395,7 +1395,7 @@ protected function load_all_categories($categoryid = null, $showbasecategories =
1395 1395 */
1396 1396 protected function add_category(stdClass $category, navigation_node $parent) {
1397 1397 if (array_key_exists($category->id, $this->addedcategories)) {
1398   - continue;
  1398 + return;
1399 1399 }
1400 1400 $url = new moodle_url('/course/category.php', array('id' => $category->id));
1401 1401 $categorynode = $parent->add($category->name, $url, self::TYPE_CATEGORY, $category->name, $category->id);

0 comments on commit d14031e

Please sign in to comment.
Something went wrong with that request. Please try again.