Permalink
Browse files

MDL-29990 fix syntax error

  • Loading branch information...
1 parent 9de8774 commit 364c32f0c1268d2040fd03ca357bf36bd17a3178 @skodak skodak committed Oct 29, 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 364c32f

Please sign in to comment.