mirror of
https://github.com/moodle/moodle.git
synced 2025-01-31 12:45:04 +01:00
MDL-42100 tool_capability: fixed incorrect links
This commit is contained in:
parent
d214057cad
commit
8eb2ea83d2
@ -87,7 +87,7 @@ class tool_capability_renderer extends plugin_renderer_base {
|
||||
$table->attributes['class'] = 'comparisontable';
|
||||
$table->head = array(' ');
|
||||
foreach ($roles as $role) {
|
||||
$url = new moodle_url('/admin/roles/override.php', array('contextid' => $contextid, 'roleid' => $role->id));
|
||||
$url = new moodle_url('/admin/roles/define.php', array('action' => 'view', 'roleid' => $role->id));
|
||||
$table->head[] = html_writer::div(html_writer::link($url, $role->localname));
|
||||
}
|
||||
$table->data = array();
|
||||
|
Loading…
x
Reference in New Issue
Block a user