Skip to content

Commit

Permalink
Merge branch 'wip-MDL-37290-m22' of git://github.com/samhemelryk/mood…
Browse files Browse the repository at this point in the history
…le into MOODLE_22_STABLE
  • Loading branch information
danpoltawski committed Dec 24, 2012
2 parents 7f44175 + 5c6c90e commit 1453ae5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions course/category.php
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,7 @@
// Integrate into the admin tree only if the user can edit categories at the top level,
// otherwise the admin block does not appear to this user, and you get an error.
require_once($CFG->libdir . '/adminlib.php');
navigation_node::override_active_url(new moodle_url('/course/category.php', array('id' => $id)));
admin_externalpage_setup('coursemgmt', '', $urlparams, $CFG->wwwroot . '/course/category.php');
$PAGE->set_context($context); // Ensure that we are actually showing blocks etc for the cat context

Expand Down

0 comments on commit 1453ae5

Please sign in to comment.