Skip to content

Commit

Permalink
MDL-30543 navigation: Added missing course variable for user context
Browse files Browse the repository at this point in the history
  • Loading branch information
Sam Hemelryk committed Dec 1, 2011
1 parent d0e016f commit 50d15ca
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/navigationlib.php
Expand Up @@ -1216,6 +1216,7 @@ public function initialise() {
}
break;
case CONTEXT_USER :
$course = $this->page->course;
if ($showcategories && !$ismycourse) {
$this->load_all_categories($course->category, $showcategories);
}
Expand Down

0 comments on commit 50d15ca

Please sign in to comment.