mirror of
https://github.com/moodle/moodle.git
synced 2025-03-26 02:22:51 +01:00
Merge branch 'MDL-77058-401' of https://github.com/dravek/moodle into MOODLE_401_STABLE
This commit is contained in:
commit
7e7628b806
@ -139,7 +139,7 @@ class cohorts extends system_report {
|
||||
->set_type(column::TYPE_TEXT)
|
||||
->set_is_sortable(true)
|
||||
->add_fields("{$entitymainalias}.idnumber, {$entitymainalias}.id, {$entitymainalias}.contextid")
|
||||
->add_callback(static function(string $idnumber, stdClass $cohort): string {
|
||||
->add_callback(static function(?string $idnumber, stdClass $cohort): string {
|
||||
global $OUTPUT, $PAGE;
|
||||
$renderer = $PAGE->get_renderer('core');
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user