Skip to content

Commit

Permalink
MDL-83183 mod_bigbluebuttonbn: consistent order in activity index.
Browse files Browse the repository at this point in the history
  • Loading branch information
paulholden committed Dec 16, 2024
1 parent a97ddeb commit b0bd690
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion mod/bigbluebuttonbn/classes/output/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,9 @@ public function get_table(renderer_base $output): html_table {
];
$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);
}

Expand Down

0 comments on commit b0bd690

Please sign in to comment.