Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

…ak/moodle into MOODLE_21_STABLE
  • Loading branch information...
commit 65af1129c5261c904a3980dcaa4569b1e041e993 2 parents df1d01c + 364c32f
@nebgor nebgor authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/navigationlib.php
View
2  lib/navigationlib.php
@@ -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);
Please sign in to comment.
Something went wrong with that request. Please try again.