if (has_capability('moodle/role:assign', $context)) {
$raurl = $assignurl . '?contextid=' . $ra->contextid . '&roleid=' .
$ra->roleid . '&removeselect[]=' . $ra->userid;
- $churl = $checkurl . '?contextid=' . $ra->contextid . '&reportuser=' . $ra->userid;
+ $churl = $checkurl . '?contextid=' . $ra->contextid . '&reportuser=' . $ra->userid;
if ($context->contextlevel == CONTEXT_USER) {
$raurl .= '&userid=' . $context->instanceid;
$churl .= '&userid=' . $context->instanceid;