Permalink
Browse files

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

…ak/moodle
  • Loading branch information...
2 parents b68c077 + 563329e commit d29f4e055dde9e67820d64a36f231117ec7a7f82 @nebgor nebgor committed Nov 1, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/navigationlib.php
View
@@ -1507,7 +1507,7 @@ protected function load_all_categories($categoryid = null, $showbasecategories =
*/
protected function add_category(stdClass $category, navigation_node $parent) {
if (array_key_exists($category->id, $this->addedcategories)) {
- continue;
+ return;
}
$url = new moodle_url('/course/category.php', array('id' => $category->id));
$context = get_context_instance(CONTEXT_COURSECAT, $category->id);

0 comments on commit d29f4e0

Please sign in to comment.