mirror of
https://github.com/moodle/moodle.git
synced 2025-08-09 10:56:56 +02:00
Merge branch 'MDL-67307' of https://github.com/stronk7/moodle
This commit is contained in:
commit
d0a4c05dda
2 changed files with 5 additions and 0 deletions
|
@ -3251,6 +3251,9 @@ class initials_bar implements renderable, templatable {
|
|||
if ($letter == $this->current) {
|
||||
$groupletter->selected = $this->current;
|
||||
}
|
||||
if (!isset($data->group[$groupnumber])) {
|
||||
$data->group[$groupnumber] = new stdClass();
|
||||
}
|
||||
$data->group[$groupnumber]->letter[] = $groupletter;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue