Merge branch 'MDL-83183-405' of https://github.com/paulholden/moodle into MOODLE_405_STABLE

This commit is contained in:
Sara Arjona 2025-01-14 10:59:16 +01:00
commit 697c49f289
No known key found for this signature in database

View File

@ -78,7 +78,9 @@ class index implements renderable {
];
$table->align = ['center', 'left', 'center', 'center', 'center', 'center', 'center'];
foreach ($this->instances as $instance) {
$modinfo = get_fast_modinfo($this->course);
foreach ($modinfo->instances['bigbluebuttonbn'] as $cm) {
$instance = $this->instances[$cm->id];
$this->add_instance_to_table($output, $table, $instance);
}