mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 00:16:46 +02:00
Resolved conflict
This commit is contained in:
parent
1ecd677e1c
commit
697bbb9b27
1 changed files with 2 additions and 2 deletions
|
@ -402,8 +402,8 @@
|
|||
error('That role does not exist');
|
||||
}
|
||||
$a->number = $totalcount;
|
||||
$a->role = role_get_name($currentrole, $context);
|
||||
$heading = get_string('xuserswiththerole', 'role', $a);
|
||||
$a->role = $currentrole->name;
|
||||
$heading = format_string(get_string('xuserswiththerole', 'role', $a));
|
||||
if (user_can_assign($context, $roleid)) {
|
||||
$heading .= ' <a href="'.$CFG->wwwroot.'/'.$CFG->admin.'/roles/assign.php?roleid='.$roleid.'&contextid='.$context->id.'">';
|
||||
$heading .= '<img src="'.$CFG->pixpath.'/i/edit.gif" class="icon" alt="" /></a>';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue