Skip to content

Commit

Permalink
navigationlib: MDL-21209 - fix incorrect parameters
Browse files Browse the repository at this point in the history
thanks to Enrique Robredo for the patch
  • Loading branch information
danpoltawski committed Mar 20, 2010
1 parent 017ab27 commit ad70376
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/navigationlib.php
Original file line number Diff line number Diff line change
Expand Up @@ -1147,7 +1147,7 @@ protected function load_for_user($user=null) {
require_once($CFG->dirroot . '/repository/lib.php');
$editabletypes = repository::get_editable_types($usercontext);
if (!empty($editabletypes)) {
$usernode->add(get_string('repositories', 'repository'), new moodle_url('/repository/manage_instances.php', array('contextid', $usercontext->id)));
$usernode->add(get_string('repositories', 'repository'), new moodle_url('/repository/manage_instances.php', array('contextid' => $usercontext->id)));
}
}
return true;
Expand Down

0 comments on commit ad70376

Please sign in to comment.