From: nicolasconnault Date: Mon, 26 Mar 2007 09:28:06 +0000 (+0000) Subject: Resolved conflict X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=697bbb9b274460d6b07d2c7e8feb3423a56c30bd;p=moodle.git Resolved conflict --- diff --git a/user/index.php b/user/index.php index 3bcc2a25d9..34aaa8bf3b 100644 --- a/user/index.php +++ b/user/index.php @@ -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 .= ' '; $heading .= '';