mirror of
https://github.com/moodle/moodle.git
synced 2025-04-12 03:52:16 +02:00
Merge branch 'MDL-62605-master' of https://github.com/lucaboesch/moodle
This commit is contained in:
commit
dce622fba9
@ -367,7 +367,7 @@ class participants_table extends \table_sql {
|
||||
$canreviewenrol = has_capability('moodle/course:enrolreview', $this->context);
|
||||
if ($canreviewenrol) {
|
||||
$fullname = fullname($data);
|
||||
$coursename = $this->course->fullname;
|
||||
$coursename = format_string($this->course->fullname, true, array('context' => $this->context));
|
||||
require_once($CFG->dirroot . '/enrol/locallib.php');
|
||||
$manager = new \course_enrolment_manager($PAGE, $this->course);
|
||||
$userenrolments = $manager->get_user_enrolments($data->id);
|
||||
|
Loading…
x
Reference in New Issue
Block a user