Permalink
Browse files

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

…ak/moodle into MOODLE_21_STABLE
  • Loading branch information...
nebgor committed Nov 1, 2011
2 parents df1d01c + 364c32f commit 65af1129c5261c904a3980dcaa4569b1e041e993
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 65af112

Please sign in to comment.