Fixed typo in capability name

This commit is contained in:
moodler 2006-09-21 16:46:10 +00:00
parent f59208a745
commit 67171ec800

View File

@ -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&amp;course=$site->id\">$fullname</a>",
"$user->email",