Merge branch 'MDL-40431_master' of https://github.com/markn86/moodle

This commit is contained in:
Damyon Wiese 2013-07-16 14:49:25 +08:00
commit ed9e492087
7 changed files with 27 additions and 20 deletions

View file

@ -67,7 +67,7 @@ if ($roleid && !isset($assignableroles[$roleid])) {
$a = new stdClass;
$a->roleid = $roleid;
$a->context = $contextname;
print_error('cannotassignrolehere', '', get_context_url($context), $a);
print_error('cannotassignrolehere', '', $context->get_url(), $a);
}
// Work out an appropriate page title.