mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
Fixed typo in capability name
This commit is contained in:
parent
f59208a745
commit
67171ec800
@ -346,7 +346,7 @@
|
||||
}
|
||||
$fullname = fullname($user, true);
|
||||
|
||||
if (has_capability('moodle/user:edit', $context)) {
|
||||
if (has_capability('moodle/user:editprofile', $context)) {
|
||||
|
||||
$table->data[] = array ("<a href=\"../user/view.php?id=$user->id&course=$site->id\">$fullname</a>",
|
||||
"$user->email",
|
||||
|
Loading…
x
Reference in New Issue
Block a user