This commit is contained in:
Jake Dallimore 2019-11-26 14:14:50 +08:00
commit d0a4c05dda
2 changed files with 5 additions and 0 deletions

View file

@ -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;
}