mirror of
https://github.com/moodle/moodle.git
synced 2025-08-07 18:06:51 +02:00
Merge branch 'MDL-40431_master' of https://github.com/markn86/moodle
This commit is contained in:
commit
ed9e492087
7 changed files with 27 additions and 20 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue