@@ -290,7 +290,8 @@ discard block |
||
290 | 290 | <li class="wt-initials-list-item d-flex"> |
291 | 291 | <?php if ($count > 0) : ?> |
292 | 292 | <a href="<?= e($this->listUrl($tree, ['alpha' => $letter, 'show_marnm' => $show_marnm, 'tree' => $tree->name()])) ?>" class="wt-initial px-1<?= $letter === $alpha ? ' active' : '' ?> '" title="<?= I18N::number($count) ?>"><?= $this->displaySurnameInitial((string) $letter) ?></a> |
293 | - <?php else : ?> |
|
293 | + <?php else { |
|
294 | + : ?> |
|
294 | 295 | <span class="wt-initial px-1 text-muted"><?= $this->displaySurnameInitial((string) $letter) ?></span> |
295 | 296 | |
296 | 297 | <?php endif ?> |
@@ -345,6 +346,7 @@ discard block |
||
345 | 346 | switch ($alpha) { |
346 | 347 | case '@': |
347 | 348 | $filter = static fn(string $x): bool => $x === Individual::NOMEN_NESCIO; |
349 | +} |
|
348 | 350 | break; |
349 | 351 | case ',': |
350 | 352 | $filter = static fn(string $x): bool => $x === ''; |